]> git.sur5r.net Git - i3/i3/blobdiff - include/ipc.h
Merge branch 'master' into next
[i3/i3] / include / ipc.h
index 24014c2f2b3f1066564deb649fa26a09ffe48a84..cbbec8e401a9dd888f7cb66a5425158c51b53921 100644 (file)
@@ -80,3 +80,10 @@ void ipc_send_event(const char *event, uint32_t message_type, const char *payloa
 void ipc_shutdown(void);
 
 void dump_node(yajl_gen gen, Con *con, bool inplace_restart);
+
+/**
+ * For the workspace "focus" event we send, along the usual "change" field,
+ * also the current and previous workspace, in "current" and "old"
+ * respectively.
+ */
+void ipc_send_workspace_focus_event(Con *current, Con *old);