aboutsummaryrefslogtreecommitdiff
path: root/src/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor.c')
-rw-r--r--src/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor.c b/src/cursor.c
index ffa1562..b1cc397 100644
--- a/src/cursor.c
+++ b/src/cursor.c
@@ -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);