From: Trevor Merrifield Date: Sun, 30 Jul 2017 04:47:40 +0000 (-0400) Subject: Document missing case of workspace event X-Git-Tag: 4.14~16^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F2847%2Fhead;p=i3%2Fi3 Document missing case of workspace event The docs are missing the "move" workspace event emitted from workspace.c's workspace_move_to_output function. --- diff --git a/docs/ipc b/docs/ipc index 1d103931..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