Fix current_workspace outputs reply member docs
Patch status: merged
Patch by Tony Crisci
Long description:
The current_workspace member of an ipc OUTPUTS reply is the name of the workspace as a string.
To apply this patch, use:
curl http://cr.i3wm.org/patch/433/raw.patch | git am
b/docs/ipc
15 |
@@ -227,9 +227,9 @@ name (string):: |
16 |
The name of this output (as seen in +xrandr(1)+). Encoded in UTF-8. |
17 |
active (boolean):: |
18 |
Whether this output is currently active (has a valid mode). |
19 |
-current_workspace (integer):: |
20 |
- The current workspace which is visible on this output. +null+ if the |
21 |
- output is not active. |
22 |
+current_workspace (string):: |
23 |
+ The name of the current workspace that is visible on this output. +null+ if |
24 |
+ the output is not active. |
25 |
rect (map):: |
26 |
The rectangle of this output (equals the rect of the output it |
27 |
is on), consists of x, y, width, height. |
28 |
@@ -240,7 +240,7 @@ rect (map):: |
29 |
{ |
30 |
"name": "LVDS1", |
31 |
"active": true, |
32 |
- "current_workspace": 4, |
33 |
+ "current_workspace": "4", |
34 |
"rect": { |
35 |
"x": 0, |
36 |
"y": 0, |
37 |
@@ -251,7 +251,7 @@ rect (map):: |
38 |
{ |
39 |
"name": "VGA1", |
40 |
"active": true, |
41 |
- "current_workspace": 1, |
42 |
+ "current_workspace": "1", |
43 |
"rect": { |
44 |
"x": 1280, |
45 |
"y": 0, |