always unalias x11 client parent window <-> pixmap relation during delete
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 26 Oct 2015 17:02:34 +0000 (13:02 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 26 Oct 2015 17:02:34 +0000 (13:02 -0400)
deleted state is not relevant, this should always be removed during deletion
to prevent further referencing of a deleted client

fix T2803

src/bin/e_comp_x.c

index a3c040d7f060810587ef364f970eb116df9876a6..5b17abe167c64d2f1c872d99f757f0885f3be678 100644 (file)
@@ -4514,10 +4514,10 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client *ec)
                ecore_x_window_reparent(win, e_comp->root,
                                        cd->initial_attributes.x,
                                        cd->initial_attributes.y);
-             e_pixmap_alias(NULL, E_PIXMAP_TYPE_X, pwin);
              if (!ec->internal)
                ecore_x_window_save_set_del(win);
           }
+        e_pixmap_alias(NULL, E_PIXMAP_TYPE_X, pwin);
      }
    ec->already_unparented = 1;
    if (cd)