aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-12-03 11:40:27 -0500
committerChris Michael <cp.michael@samsung.com>2015-12-03 11:40:27 -0500
commit46d35dd75e9a9838519c890ddb2a34fa70d65907 (patch)
treec4bf801a0699417b6d15a558bff170a94115ccb3
parentecore-evas wayland: enforce frame/state change triggering before move/resize (diff)
downloadefl-46d35dd75e9a9838519c890ddb2a34fa70d65907.tar.gz
ecore-wl2: Always create cursor surface for pointerdevs/devilhorns/ecore_wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c10
1 files 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 cc37b1f924..a5cbf0ce4a 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))
{