i3
|
00001 /* 00002 * vim:ts=4:sw=4:expandtab 00003 * 00004 * i3 - an improved dynamic tiling window manager 00005 * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) 00006 * 00007 * xcursor.c: libXcursor support for themed cursors. 00008 * 00009 */ 00010 #ifndef _XCURSOR_CURSOR_H 00011 #define _XCURSOR_CURSOR_H 00012 00013 #include <X11/Xlib.h> 00014 00015 enum xcursor_cursor_t { 00016 XCURSOR_CURSOR_POINTER = 0, 00017 XCURSOR_CURSOR_RESIZE_HORIZONTAL, 00018 XCURSOR_CURSOR_RESIZE_VERTICAL, 00019 XCURSOR_CURSOR_WATCH, 00020 XCURSOR_CURSOR_MAX 00021 }; 00022 00023 void xcursor_load_cursors(); 00024 Cursor xcursor_get_cursor(enum xcursor_cursor_t c); 00025 int xcursor_get_xcb_cursor(enum xcursor_cursor_t c); 00026 00038 void xcursor_set_root_cursor(int cursor_id); 00039 00040 #endif