From: Mike Blumenkrantz Date: Wed, 8 Jul 2015 18:47:24 +0000 (-0400) Subject: set xwayland clients in x11 compositor client hash using parent window on flip X-Git-Tag: upstream/0.20.0~615 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af15bf11ebd22d81e9bb53eadcf70efd067e83ff;p=platform%2Fupstream%2Fenlightenment.git set xwayland clients in x11 compositor client hash using parent window on flip --- diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index ff329ef..f9ec6d3 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -5412,10 +5412,11 @@ e_comp_x_nocomp_end(void) EINTERN void e_comp_x_xwayland_client_setup(E_Client *ec, E_Client *wc) { - Ecore_X_Window win; + Ecore_X_Window win, pwin; E_Comp_X_Client_Data *cd; win = e_client_util_win_get(ec); + pwin = e_client_util_pwin_get(ec); cd = ec->comp_data; e_comp_wl_client_xwayland_setup(wc, cd, e_pixmap_ref(ec->pixmap)); eina_hash_del(damages_hash, &cd->damage, ec); @@ -5440,6 +5441,8 @@ e_comp_x_xwayland_client_setup(E_Client *ec, E_Client *wc) e_comp->new_clients++; eina_hash_set(clients_win_hash, &win, wc); + if (pwin) + eina_hash_set(clients_win_hash, &pwin, wc); wc->visible = 1; wc->ignored = 0; if (ec->override)