discomfitor pushed a commit to branch master.

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

commit caab810b394692441d794bb1a39d51d9295cb470
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Oct 9 07:09:16 2017 -0400

    check for non-wl compositor when forcing application cursors onto pointers
    
    comp_type is not set during initial pointer creation on startup but will be 
set at
    the point of xwl startup, so use a check which will succeed
    
    fix T6157
    ref 2b8c70fe98a3b1559dfe906d375438a23d473855
---
 src/bin/e_pointer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_pointer.c b/src/bin/e_pointer.c
index 6953de28a..35b500726 100644
--- a/src/bin/e_pointer.c
+++ b/src/bin/e_pointer.c
@@ -366,7 +366,7 @@ _e_pointer_cb_free(E_Pointer *ptr)
 static void
 _e_pointer_x11_setup(E_Pointer *ptr, const char *cursor)
 {
-   if (ptr->e_cursor && (e_comp->comp_type == E_PIXMAP_TYPE_X))
+   if (ptr->e_cursor && (e_comp->comp_type != E_PIXMAP_TYPE_WL))
      {
         /* create a pointer canvas if we need to */
         if ((!ptr->buffer_evas) && ptr->win) _e_pointer_canvas_add(ptr);

-- 


Reply via email to