From b566360de25b649eb4ddbc15ec3094c6544bd3bc Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 3 Dec 2015 11:40:27 -0500 Subject: [PATCH] ecore-wl2: Always create cursor surface for pointer Signed-off-by: Chris Michael --- 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)) { -- 2.7.4