Sent when the user switches to a different workspace, when a new
workspace is initialized or when a workspace is removed (because the
last client vanished).
+output::
+ Sent when RandR issues a change notification (of either screens,
+ outputs, CRTCs or output properties).
=== workspace event
{ "change": "focus" }
---------------------
+=== output event
+
+This event consists of a single serialized map containing a property
++change (string)+ which indicates the type of the change (currently only
+"unspecified").
+
+*Example:*
+---------------------------
+{ "change": "unspecified" }
+---------------------------
+
== See also
For some languages, libraries are available (so you don’t have to implement
*/
#define I3_IPC_EVENT_MASK (1 << 31)
+/* The workspace event will be triggered upon changes in the workspace list */
#define I3_IPC_EVENT_WORKSPACE (I3_IPC_EVENT_MASK | 0)
+/* The output event will be triggered upon changes in the output list */
+#define I3_IPC_EVENT_OUTPUT (I3_IPC_EVENT_MASK | 1)
+
#endif