discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=40af8d5193b7f87e997bd4a5a2eb0a18b8acb4d7

commit 40af8d5193b7f87e997bd4a5a2eb0a18b8acb4d7
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 18 13:15:09 2016 -0400

    reject xwayland clients in wl client resize handlers
    
    fix T3461
---
 src/bin/e_comp_wl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 7a6348c..c4a6d0c 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -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;

-- 


Reply via email to