From c52c4fa69e2a6a58813fe35a5c4a1fe23661db03 Mon Sep 17 00:00:00 2001 From: Bert Date: Sat, 29 Jan 2011 22:37:40 +0100 Subject: Mouse-panning while pressing button2 --- window.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'window.h') diff --git a/window.h b/window.h index 47de1a1..52fd759 100644 --- a/window.h +++ b/window.h @@ -23,6 +23,11 @@ #define CLEANMASK(mask) ((mask) & ~LockMask) +typedef enum win_cur_e { + CURSOR_ARROW = 0, + CURSOR_HAND +} win_cur_t; + typedef struct win_env_s { Display *dpy; int scr; @@ -59,4 +64,6 @@ void win_toggle_fullscreen(win_t*); void win_clear(win_t*); void win_draw(win_t*); +void win_set_cursor(win_t*, win_cur_t); + #endif /* WINDOW_H */ -- cgit v1.2.3