cursor.patch (607B)
1 diff --git a/libswc/pointer.c b/libswc/pointer.c 2 index 1c279fd..086ad9e 100644 3 --- a/libswc/pointer.c 4 +++ b/libswc/pointer.c 5 @@ -147,8 +147,10 @@ enter(struct input_focus_handler *handler, struct wl_list *resources, 6 wl_fixed_t surface_x, surface_y; 7 int32_t origin_x, origin_y; 8 9 + /* the default until the client sets its own: a client that sets none 10 + * would otherwise show the cursor the last one left */ 11 + pointer_set_cursor(pointer, cursor_left_ptr); 12 if (wl_list_empty(resources)) { 13 - pointer_set_cursor(pointer, cursor_left_ptr); 14 return; 15 } 16 serial = wl_display_next_serial(swc.display);