From: Tobias Hänel Date: Tue, 24 Jan 2017 16:40:32 +0000 (+0100) Subject: Added missing cases for workspace event (#2656) X-Git-Tag: 4.14~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=348d0d4622857caa6539f5a259e6cfca183dfe0b;p=i3%2Fi3 Added missing cases for workspace event (#2656) The possible values "rename", "reload" and "restored" of the property 'change' from the workspace event were missing. Because no events of those types contain an old workspace, this was trivial. --- diff --git a/docs/ipc b/docs/ipc index 5d47bcbd..466b6596 100644 --- a/docs/ipc +++ b/docs/ipc @@ -696,9 +696,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"). 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"). 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