X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fhandlers.h;h=d80a24f8fdbbda1d1dc7fd98bee473cc562f3a90;hb=5ad1890838c29ea2c3607d36db895aa7b31ba33c;hp=ebec34cf7e0f68c87b6c847bf84b8e81117dd62e;hpb=0adbffb38621192c416ac52aa6b82ac57fb6394d;p=i3%2Fi3 diff --git a/include/handlers.h b/include/handlers.h index ebec34cf..d80a24f8 100644 --- a/include/handlers.h +++ b/include/handlers.h @@ -2,18 +2,18 @@ * 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) * * handlers.c: Small handlers for various events (keypresses, focus changes, * …). * */ -#ifndef _HANDLERS_H -#define _HANDLERS_H +#pragma once #include extern int randr_base; +extern int xkb_base; /** * Adds the given sequence to the list of events which are ignored. @@ -43,7 +43,7 @@ void handle_event(int type, xcb_generic_event_t *event); * received from X11 * */ -void property_handlers_init(); +void property_handlers_init(void); #if 0 /** @@ -63,5 +63,3 @@ int handle_window_type(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *property); #endif - -#endif