Merge pull request #2847 from tmerr/next

Document missing case of workspace event
This commit is contained in:
Ingo Bürk 2017-07-31 11:48:10 +02:00 committed by GitHub
commit e4da07e734
1 changed files with 4 additions and 4 deletions

View File

@ -698,9 +698,9 @@ if ($is_event) {
This event consists of a single serialized map containing a property This event consists of a single serialized map containing a property
+change (string)+ which indicates the type of the change ("focus", "init", +change (string)+ which indicates the type of the change ("focus", "init",
"empty", "urgent", "reload", "rename", "restored"). A +current (object)+ "empty", "urgent", "reload", "rename", "restored", "move"). A
property will be present with the affected workspace whenever the type of event +current (object)+ property will be present with the affected workspace
affects a workspace (otherwise, it will be +null). 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 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 previous workspace. When the first switch occurs (when i3 focuses the
@ -878,4 +878,4 @@ Ruby::
Rust:: Rust::
* https://github.com/tmerr/i3ipc-rs * https://github.com/tmerr/i3ipc-rs
OCaml:: OCaml::
* https://github.com/Armael/ocaml-i3ipc * https://github.com/Armael/ocaml-i3ipc