X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=include%2Fxcursor.h;h=804e1f84c211a20c115942ee1e0c3ac33b54abe8;hp=bfe37c3944cf098e22b91aa461cb92e7db5dde5c;hb=HEAD;hpb=13147978c50b4efa5b4eb0b65d8175aa596a76fe diff --git a/include/xcursor.h b/include/xcursor.h index bfe37c39..804e1f84 100644 --- a/include/xcursor.h +++ b/include/xcursor.h @@ -2,15 +2,16 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * xcursor.c: libXcursor support for themed cursors. * */ -#ifndef I3_XCURSOR_CURSOR_H -#define I3_XCURSOR_CURSOR_H +#pragma once -#include +#include + +#include enum xcursor_cursor_t { XCURSOR_CURSOR_POINTER = 0, @@ -26,7 +27,7 @@ enum xcursor_cursor_t { }; void xcursor_load_cursors(void); -Cursor xcursor_get_cursor(enum xcursor_cursor_t c); +xcb_cursor_t xcursor_get_cursor(enum xcursor_cursor_t c); int xcursor_get_xcb_cursor(enum xcursor_cursor_t c); /** @@ -41,5 +42,3 @@ int xcursor_get_xcb_cursor(enum xcursor_cursor_t c); * */ void xcursor_set_root_cursor(int cursor_id); - -#endif