aboutsummaryrefslogtreecommitdiff
path: root/include/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cursor.h')
-rw-r--r--include/cursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cursor.h b/include/cursor.h
index 0a7831d..a189ec3 100644
--- a/include/cursor.h
+++ b/include/cursor.h
@@ -15,6 +15,7 @@ typedef struct {
unsigned int texture_id;
vec2i size;
vec2i hotspot;
+ vec2i position;
bool cursor_image_set;
} gsr_cursor;
@@ -24,5 +25,6 @@ void gsr_cursor_deinit(gsr_cursor *self);
int gsr_cursor_change_window_target(gsr_cursor *self, Window window);
void gsr_cursor_update(gsr_cursor *self, XEvent *xev);
+void gsr_cursor_tick(gsr_cursor *self);
#endif /* GSR_CURSOR_H */