diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-09-29 20:56:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-09-29 20:56:59 +0200 |
commit | f89d23c2d0075dbc8bfaf589634bd75cfad3566c (patch) | |
tree | 2606c91deaac1bbea689e8abe1a632e7a8ddda84 /include/cursor.h | |
parent | b6ea32330edeb9d5ac52aba86d7b6798cb91529f (diff) |
Remove unused cursor code
Diffstat (limited to 'include/cursor.h')
-rw-r--r-- | include/cursor.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/cursor.h b/include/cursor.h deleted file mode 100644 index a189ec3..0000000 --- a/include/cursor.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef GSR_CURSOR_H -#define GSR_CURSOR_H - -#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; - vec2i size; - vec2i hotspot; - vec2i position; - - bool cursor_image_set; -} gsr_cursor; - -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); - -#endif /* GSR_CURSOR_H */ |