From 6a8a4266f3b15aa983619ee2adf895c54c217608 Mon Sep 17 00:00:00 2001 From: Trevor Merrifield Date: Sun, 30 Jul 2017 00:42:11 -0400 Subject: [PATCH 1/2] Add missing newline to end of file --- docs/ipc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ipc b/docs/ipc index 0fc5774a..1d103931 100644 --- a/docs/ipc +++ b/docs/ipc @@ -878,4 +878,4 @@ Ruby:: Rust:: * https://github.com/tmerr/i3ipc-rs OCaml:: - * https://github.com/Armael/ocaml-i3ipc \ No newline at end of file + * https://github.com/Armael/ocaml-i3ipc From a805676197a7f4c85e706ddf5b039f1e724d40e3 Mon Sep 17 00:00:00 2001 From: Trevor Merrifield Date: Sun, 30 Jul 2017 00:47:40 -0400 Subject: [PATCH 2/2] 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