]> git.sur5r.net Git - i3/i3/blobdiff - include/handlers.h
Merge branch 'release-4.16.1'
[i3/i3] / include / handlers.h
index 0aaaf158a67c33730958e5ba3ede0a087ae2dbb9..1d5a386522bcbe229c1de411ecf7b5ceab4d5fe8 100644 (file)
@@ -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 <config.h>
 
 #include <xcb/randr.h>
 
 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