From: Tony Crisci Date: Sun, 23 Feb 2014 09:36:39 +0000 (-0500) Subject: Fix current_workspace outputs reply member docs X-Git-Tag: 4.8~110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f6c411f0649d69d2a9afa6ee5e824ce0c7af746;p=i3%2Fi3 Fix current_workspace outputs reply member docs The current_workspace member of an ipc OUTPUTS reply is the name of the workspace as a string. --- diff --git a/docs/ipc b/docs/ipc index 7b05544b..e548c074 100644 --- a/docs/ipc +++ b/docs/ipc @@ -227,9 +227,9 @@ name (string):: The name of this output (as seen in +xrandr(1)+). Encoded in UTF-8. active (boolean):: Whether this output is currently active (has a valid mode). -current_workspace (integer):: - The current workspace which is visible on this output. +null+ if the - output is not active. +current_workspace (string):: + The name of the current workspace that is visible on this output. +null+ if + the output is not active. rect (map):: The rectangle of this output (equals the rect of the output it is on), consists of x, y, width, height. @@ -240,7 +240,7 @@ rect (map):: { "name": "LVDS1", "active": true, - "current_workspace": 4, + "current_workspace": "4", "rect": { "x": 0, "y": 0, @@ -251,7 +251,7 @@ rect (map):: { "name": "VGA1", "active": true, - "current_workspace": 1, + "current_workspace": "1", "rect": { "x": 1280, "y": 0,