]> git.sur5r.net Git - i3/i3/blobdiff - include/manage.h
t/*ewmh*: fix flakiness by syncing
[i3/i3] / include / manage.h
index 833d614fa063867b1a1673fa430b986a5e7c253a..bd1a14f76ec4184ad559356bcf6ade3a113e80d3 100644 (file)
@@ -7,8 +7,7 @@
  * manage.c: Initially managing new windows (or existing ones on restart).
  *
  */
-#ifndef _MANAGE_H
-#define _MANAGE_H
+#pragma once
 
 #include "data.h"
 
@@ -27,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.
@@ -52,4 +51,3 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
                      uint32_t border_width);
 
 #endif
-#endif