derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=df72ddf43cab9c8c402787735306ce03556b2819

commit df72ddf43cab9c8c402787735306ce03556b2819
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Wed Jan 4 13:12:56 2017 -0600

    ecore_wl2: Don't request shell surfaces for all window types
    
    Now that cursors are "windows", this results in a mess.  So skip at least
    NONE and DND for now.
---
 src/lib/ecore_wl2/ecore_wl2_display.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c 
b/src/lib/ecore_wl2/ecore_wl2_display.c
index 78b68d1..16a3fb3 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -159,7 +159,9 @@ _cb_global_add(void *data, struct wl_registry *registry, 
unsigned int id, const
         xdg_shell_add_listener(ewd->wl.xdg_shell, &_xdg_shell_listener, NULL);
 
         EINA_INLIST_FOREACH(ewd->windows, window)
-          _ecore_wl2_window_shell_surface_init(window);
+          if ((window->type != ECORE_WL2_WINDOW_TYPE_DND) &&
+              (window->type != ECORE_WL2_WINDOW_TYPE_NONE))
+                _ecore_wl2_window_shell_surface_init(window);
      }
    else if (!strcmp(interface, "zxdg_shell_v6"))
      {

-- 


Reply via email to