]> git.sur5r.net Git - i3/i3/blobdiff - libi3/get_mod_mask.c
Merge pull request #3445 from orestisf1993/flaky
[i3/i3] / libi3 / get_mod_mask.c
index 3b6976ad6b0d1669149fed67533aa53d1b1d4b7c..98031d4ceed460ffbe3f7561a55b8e4b7bb15ae0 100644 (file)
@@ -5,15 +5,13 @@
  * © 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).