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.
This commit is contained in:
Hiroaki Yamamoto 2024-10-18 04:12:15 +09:00 committed by GitHub
parent da68df5f5b
commit a567b4dc3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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