ecore-wl2: Always create cursor surface for pointer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
9c26f9311c
commit
b566360de2
|
@ -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_set_user_data(input->wl.pointer, input);
|
||||||
wl_pointer_add_listener(input->wl.pointer, &_pointer_listener, input);
|
wl_pointer_add_listener(input->wl.pointer, &_pointer_listener, input);
|
||||||
|
|
||||||
/* if (!input->cursor.surface) */
|
if (!input->cursor.surface)
|
||||||
/* { */
|
{
|
||||||
/* input->cursor.surface = */
|
input->cursor.surface =
|
||||||
/* wl_compositor_create_surface(input->display->wl.compositor); */
|
wl_compositor_create_surface(input->display->wl.compositor);
|
||||||
/* } */
|
}
|
||||||
}
|
}
|
||||||
else if (!(caps & WL_SEAT_CAPABILITY_POINTER) && (input->wl.pointer))
|
else if (!(caps & WL_SEAT_CAPABILITY_POINTER) && (input->wl.pointer))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue