aboutsummaryrefslogtreecommitdiff
path: root/include/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cursor.h')
-rw-r--r--include/cursor.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/cursor.h b/include/cursor.h
index a189ec3..b1ec6bd 100644
--- a/include/cursor.h
+++ b/include/cursor.h
@@ -4,12 +4,9 @@
#include "egl.h"
#include "vec2.h"
-#include <X11/Xlib.h>
-
typedef struct {
gsr_egl *egl;
Display *display;
- Window window;
int x_fixes_event_base;
unsigned int texture_id;
@@ -23,8 +20,7 @@ typedef struct {
int gsr_cursor_init(gsr_cursor *self, gsr_egl *egl, Display *display);
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);
+void gsr_cursor_tick(gsr_cursor *self, Window relative_to);
#endif /* GSR_CURSOR_H */