]> git.sur5r.net Git - i3/i3/blobdiff - include/i3/ipc.h
Use #pragma once
[i3/i3] / include / i3 / ipc.h
index 2380edab30c79437cd9aca1de1fbb784f11b810b..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>
 
@@ -96,4 +95,8 @@ typedef struct i3_ipc_header {
 /* The output event will be triggered upon mode changes */
 #define I3_IPC_EVENT_MODE                       (I3_IPC_EVENT_MASK | 2)
 
-#endif
+/* The window event will be triggered upon window changes */
+#define I3_IPC_EVENT_WINDOW                     (I3_IPC_EVENT_MASK | 3)
+
+/** Bar config update will be triggered to update the bar config */
+#define I3_IPC_EVENT_BARCONFIG_UPDATE           (I3_IPC_EVENT_MASK | 4)