diff options
Diffstat (limited to 'include/cursor.h')
-rw-r--r-- | include/cursor.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/cursor.h b/include/cursor.h index 2f26dfd..1564714 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -8,7 +8,6 @@ typedef struct { gsr_egl *egl; Display *display; int x_fixes_event_base; - int xi_opcode; unsigned int texture_id; vec2i size; @@ -17,14 +16,13 @@ typedef struct { bool cursor_image_set; bool visible; - bool cursor_moved; } gsr_cursor; 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 */ |