From 348d0d4622857caa6539f5a259e6cfca183dfe0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20H=C3=A4nel?= Date: Tue, 24 Jan 2017 17:40:32 +0100 Subject: [PATCH] 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. --- docs/ipc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5