diff --git a/docs/ipc b/docs/ipc index 0fc5774a..65723577 100644 --- a/docs/ipc +++ b/docs/ipc @@ -698,9 +698,9 @@ if ($is_event) { This event consists of a single serialized map containing a property +change (string)+ which indicates the type of the change ("focus", "init", -"empty", "urgent", "reload", "rename", "restored"). A +current (object)+ -property will be present with the affected workspace whenever the type of event -affects a workspace (otherwise, it will be +null). +"empty", "urgent", "reload", "rename", "restored", "move"). A ++current (object)+ property will be present with the affected workspace +whenever the type of event affects a workspace (otherwise, it will be +null). When the change is "focus", an +old (object)+ property will be present with the previous workspace. When the first switch occurs (when i3 focuses the @@ -878,4 +878,4 @@ Ruby:: Rust:: * https://github.com/tmerr/i3ipc-rs OCaml:: - * https://github.com/Armael/ocaml-i3ipc \ No newline at end of file + * https://github.com/Armael/ocaml-i3ipc