forked from enlightenment/enlightenment
only apply xwl client deletion to xwl clients in x11 compositor
This commit is contained in:
parent
2d4869602f
commit
6323d0fb51
|
@ -4390,12 +4390,15 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client *ec)
|
||||||
if (cd)
|
if (cd)
|
||||||
E_FREE_FUNC(cd->first_draw_delay, ecore_timer_del);
|
E_FREE_FUNC(cd->first_draw_delay, ecore_timer_del);
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
if (e_pixmap_is_x(ec->pixmap))
|
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
|
||||||
e_comp_wl_client_xwayland_setup(ec, NULL, NULL);
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
free(cd);
|
if (e_pixmap_is_x(ec->pixmap))
|
||||||
e_pixmap_free(_e_comp_x_client_pixmap_get(ec));
|
e_comp_wl_client_xwayland_setup(ec, NULL, NULL);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
free(cd);
|
||||||
|
e_pixmap_free(_e_comp_x_client_pixmap_get(ec));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (post_clients)
|
if (post_clients)
|
||||||
|
|
Loading…
Reference in New Issue