]> git.sur5r.net Git - i3/i3/blobdiff - libi3/root_atom_contents.c
Ensure all *.[ch] files include config.h
[i3/i3] / libi3 / root_atom_contents.c
index 8d26c307048d81a9827a1118a4195b64fb979592..d6394d4bf2f7631fef52cb89454f32ca3a705664 100644 (file)
@@ -5,6 +5,8 @@
  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
  *
  */
+#include "libi3.h"
+
 #include <stdio.h>
 #include <string.h>
 #include <stdbool.h>
@@ -15,8 +17,6 @@
 #include <xcb/xcb.h>
 #include <xcb/xcb_aux.h>
 
-#include "libi3.h"
-
 /*
  * Try to get the contents of the given atom (for example I3_SOCKET_PATH) from
  * the X11 root window and return NULL if it doesn’t work.