From: Hiroaki Yamamoto Date: Thu, 17 Oct 2024 19:12:15 +0000 (+0900) Subject: cursor: send a frame event after emulated button events (#2244) X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a567b4dc3b4493f427d20bf3d210e10fad9b4a74;p=proto%2Flabwc.git cursor: send a frame event after emulated button events (#2244) This fixes the issue that emulated tablet/touchscreen button events sometimes don't take effect on applications immediately. --- diff --git a/src/input/cursor.c b/src/input/cursor.c index 40ffd6db..b230c95e 100644 --- a/src/input/cursor.c +++ b/src/input/cursor.c @@ -1225,6 +1225,7 @@ cursor_emulate_button(struct seat *seat, uint32_t button, cursor_finish_button_release(seat, button); break; } + wlr_seat_pointer_notify_frame(seat->seat); } static int