devilhorns pushed a commit to branch master.

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

commit b566360de25b649eb4ddbc15ec3094c6544bd3bc
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Dec 3 11:40:27 2015 -0500

    ecore-wl2: Always create cursor surface for pointer
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_input.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c 
b/src/lib/ecore_wl2/ecore_wl2_input.c
index cc37b1f..a5cbf0c 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -1087,11 +1087,11 @@ _seat_cb_capabilities(void *data, struct wl_seat *seat, 
enum wl_seat_capability
         wl_pointer_set_user_data(input->wl.pointer, input);
         wl_pointer_add_listener(input->wl.pointer, &_pointer_listener, input);
 
-        /* if (!input->cursor.surface) */
-        /*   { */
-        /*      input->cursor.surface = */
-        /*        wl_compositor_create_surface(input->display->wl.compositor); 
*/
-        /*   } */
+        if (!input->cursor.surface)
+          {
+             input->cursor.surface =
+               wl_compositor_create_surface(input->display->wl.compositor);
+          }
      }
    else if (!(caps & WL_SEAT_CAPABILITY_POINTER) && (input->wl.pointer))
      {

-- 


Reply via email to