diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-14 01:57:00 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-14 02:27:48 +0200 |
commit | 714561987e264c5f3e9fb01d9ebbf545225b35b7 (patch) | |
tree | 94fc3c271516b873d2f0b3c463fa81c590e849bd /include/cursor.h | |
parent | 8acb34638212ab8dba0d48a57dd40721203a7a44 (diff) |
Properly damage if moving cursor
Only damage if cursor is inside the target area
Diffstat (limited to 'include/cursor.h')
-rw-r--r-- | include/cursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cursor.h b/include/cursor.h index 2f26dfd..323d098 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -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 */ |