reject xwayland clients in wl client resize handlers

fix T3461
This commit is contained in:
Mike Blumenkrantz 2016-04-18 13:15:09 -04:00
parent a1d0f97968
commit 40af8d5193
1 changed files with 2 additions and 2 deletions

View File

@ -2312,7 +2312,7 @@ _e_comp_wl_client_cb_focus_unset(void *data EINA_UNUSED, E_Client *ec)
static void
_e_comp_wl_client_cb_resize_begin(void *data EINA_UNUSED, E_Client *ec)
{
if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;
if (e_client_has_xwindow(ec)) return;
e_comp_wl->resize.edges = 0;
if (ec->keyboard_resizing) return;
@ -2354,7 +2354,7 @@ static void
_e_comp_wl_client_cb_resize_end(void *data EINA_UNUSED, E_Client *ec)
{
if (e_object_is_del(E_OBJECT(ec))) return;
if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;
if (e_client_has_xwindow(ec)) return;
e_comp_wl->resize.edges = 0;
e_comp_wl->resize.resource = NULL;