ipc: correctly set "focused" for workspaces
Didn’t work on empty workspaces before
This commit is contained in:
parent
b7da973d09
commit
b6088b803e
|
@ -155,7 +155,7 @@ IPC_HANDLER(get_workspaces) {
|
||||||
y(bool, ws->output->current_workspace == ws);
|
y(bool, ws->output->current_workspace == ws);
|
||||||
|
|
||||||
ystr("focused");
|
ystr("focused");
|
||||||
y(bool, (last_focused != NULL && last_focused->workspace == ws));
|
y(bool, c_ws == ws);
|
||||||
|
|
||||||
ystr("rect");
|
ystr("rect");
|
||||||
y(map_open);
|
y(map_open);
|
||||||
|
|
Loading…
Reference in New Issue