]> git.sur5r.net Git - i3/i3/blobdiff - include/i3/ipc.h
Merge branch 'master' into next
[i3/i3] / include / i3 / ipc.h
index 2a3321b50302727281a6838baf893a5c345669d0..94a39904a7d5bb1232142015cd6b3a7e0c915fa3 100644 (file)
@@ -8,8 +8,7 @@
  * for the IPC interface to i3 (see docs/ipc for more information).
  *
  */
-#ifndef I3_I3_IPC_H
-#define I3_I3_IPC_H
+#pragma once
 
 #include <stdint.h>
 
@@ -99,4 +98,5 @@ typedef struct i3_ipc_header {
 /* The window event will be triggered upon window changes */
 #define I3_IPC_EVENT_WINDOW                     (I3_IPC_EVENT_MASK | 3)
 
-#endif
+/** Bar config update will be triggered to update the bar config */
+#define I3_IPC_EVENT_BARCONFIG_UPDATE           (I3_IPC_EVENT_MASK | 4)