]> git.sur5r.net Git - i3/i3/blobdiff - libi3/get_mod_mask.c
dump-asy.pl: Add marks
[i3/i3] / libi3 / get_mod_mask.c
index 76549220952b6086b905f19fb7d6f4a4748c937c..98031d4ceed460ffbe3f7561a55b8e4b7bb15ae0 100644 (file)
@@ -2,21 +2,16 @@
  * vim:ts=4:sw=4:expandtab
  *
  * i3 - an improved dynamic tiling window manager
- *
- * © 2009-2011 Michael Stapelberg and contributors
- *
- * See file LICENSE for license information.
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
  *
  */
+#include "libi3.h"
+
 #include <stdint.h>
 #include <stdlib.h>
 #include <xcb/xcb.h>
 #include <xcb/xcb_keysyms.h>
 
-#include "libi3.h"
-
-extern xcb_connection_t *conn;
-
 /*
  * All-in-one function which returns the modifier mask (XCB_MOD_MASK_*) for the
  * given keysymbol, for example for XCB_NUM_LOCK (usually configured to mod2).
@@ -49,8 +44,8 @@ uint32_t aio_get_mod_mask_for(uint32_t keysym, xcb_key_symbols_t *symbols) {
  *
  */
 uint32_t get_mod_mask_for(uint32_t keysym,
-                           xcb_key_symbols_t *symbols,
-                           xcb_get_modifier_mapping_reply_t *modmap_reply) {
+                          xcb_key_symbols_t *symbols,
+                          xcb_get_modifier_mapping_reply_t *modmap_reply) {
     xcb_keycode_t *codes, *modmap;
     xcb_keycode_t mod_code;