mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Properly damage if moving cursor
Only damage if cursor is inside the target area
This commit is contained in:
@@ -24,7 +24,7 @@ int gsr_cursor_init(gsr_cursor *self, gsr_egl *egl, Display *display);
|
||||
void gsr_cursor_deinit(gsr_cursor *self);
|
||||
|
||||
/* Returns true if the cursor image has updated or if the cursor has moved */
|
||||
bool gsr_cursor_update(gsr_cursor *self, XEvent *xev);
|
||||
bool gsr_cursor_on_event(gsr_cursor *self, XEvent *xev);
|
||||
void gsr_cursor_tick(gsr_cursor *self, Window relative_to);
|
||||
|
||||
#endif /* GSR_CURSOR_H */
|
||||
|
||||
Reference in New Issue
Block a user