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.
This commit is contained in:
Tobias Hänel 2017-01-24 17:40:32 +01:00 committed by Michael Stapelberg
parent a55733f719
commit 348d0d4622
1 changed files with 3 additions and 3 deletions

View File

@ -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