X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fxcursor.c;h=cbfe808bcd11e625909db179fe9d68e787ceba20;hb=07dfb8450bfaf90d86b220b671997d322d325a85;hp=6daeedba5aab23f58de903e8c89c1dd6c38c50fa;hpb=92000942039fa99d7334ca5099b467b0d3d17792;p=i3%2Fi3 diff --git a/src/xcursor.c b/src/xcursor.c index 6daeedba..cbfe808b 100644 --- a/src/xcursor.c +++ b/src/xcursor.c @@ -1,14 +1,14 @@ -#undef I3__FILE__ -#define I3__FILE__ "xcursor.c" /* * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2013 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * xcursor.c: xcursor support for themed cursors. * */ +#include + #include #include @@ -56,7 +56,7 @@ void xcursor_load_cursors(void) { */ void xcursor_set_root_cursor(int cursor_id) { xcb_change_window_attributes(conn, root, XCB_CW_CURSOR, - (uint32_t[]) {xcursor_get_cursor(cursor_id)}); + (uint32_t[]){xcursor_get_cursor(cursor_id)}); } xcb_cursor_t xcursor_get_cursor(enum xcursor_cursor_t c) {