]> git.sur5r.net Git - i3/i3/blobdiff - include/manage.h
Merge pull request #1931 from Airblader/bug-1924
[i3/i3] / include / manage.h
index 555cefbed4e0d06a7a9a71bdcd02f922e57a51e7..b0c4238155969e206f9874c6dc41f410f04636a7 100644 (file)
@@ -1,20 +1,16 @@
 /*
- * 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 Michael Stapelberg and contributors
- *
- * See file LICENSE for license information.
+ * manage.c: Initially managing new windows (or existing ones on restart).
  *
  */
-#include <xcb/xcb.h>
+#pragma once
 
 #include "data.h"
 
-#ifndef _MANAGE_H
-#define _MANAGE_H
-
 /**
  * Go through all existing windows (if the window manager is restarted) and
  * manage them
@@ -30,7 +26,7 @@ void manage_existing_windows(xcb_window_t root);
  * side-effects which are to be expected when continuing to run i3.
  *
  */
-void restore_geometry();
+void restore_geometry(void);
 
 /**
  * Do some sanity checks and then reparent the window.
@@ -55,4 +51,3 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
                      uint32_t border_width);
 
 #endif
-#endif