cursor: send a frame event after emulated button events

This fixes the issue that emulated tablet/touchscreen button events
sometimes don't take effect on applications immediately.
This commit is contained in:
tokyo4j 2024-10-17 23:27:56 +09:00
parent da68df5f5b
commit d6eeefe234

View file

@ -1225,6 +1225,7 @@ cursor_emulate_button(struct seat *seat, uint32_t button,
cursor_finish_button_release(seat, button); cursor_finish_button_release(seat, button);
break; break;
} }
wlr_seat_pointer_notify_frame(seat->seat);
} }
static int static int