mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-04-20 17:05:48 +09:00
Properly damage if moving cursor
Only damage if cursor is inside the target area
This commit is contained in:
@@ -155,7 +155,7 @@ void gsr_cursor_deinit(gsr_cursor *self) {
|
||||
self->egl = NULL;
|
||||
}
|
||||
|
||||
bool gsr_cursor_update(gsr_cursor *self, XEvent *xev) {
|
||||
bool gsr_cursor_on_event(gsr_cursor *self, XEvent *xev) {
|
||||
bool updated = false;
|
||||
XGenericEventCookie *cookie = (XGenericEventCookie*)&xev->xcookie;
|
||||
const Bool got_event_data = XGetEventData(self->display, cookie);
|
||||
|
||||
Reference in New Issue
Block a user