X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=include%2Fhandlers.h;h=1d5a386522bcbe229c1de411ecf7b5ceab4d5fe8;hp=0aaaf158a67c33730958e5ba3ede0a087ae2dbb9;hb=HEAD;hpb=05e39c1c480de807b59bd13386d2cffe35e564b6 diff --git a/include/handlers.h b/include/handlers.h index 0aaaf158..1d5a3865 100644 --- a/include/handlers.h +++ b/include/handlers.h @@ -1,19 +1,21 @@ /* - * vim:ts=8:expandtab + * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * - * © 2009-2010 Michael Stapelberg and contributors - * - * See file LICENSE for license information. + * handlers.c: Small handlers for various events (keypresses, focus changes, + * …). * */ -#ifndef _HANDLERS_H -#define _HANDLERS_H +#pragma once + +#include #include extern int randr_base; +extern int xkb_base; /** * Adds the given sequence to the list of events which are ignored. @@ -43,7 +45,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 +65,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