From a805676197a7f4c85e706ddf5b039f1e724d40e3 Mon Sep 17 00:00:00 2001 From: Trevor Merrifield Date: Sun, 30 Jul 2017 00:47:40 -0400 Subject: [PATCH] Document missing case of workspace event The docs are missing the "move" workspace event emitted from workspace.c's workspace_move_to_output function. --- docs/ipc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5