mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Update view border when workspace is focused
When a workspace is focused, update the borders of all its child containers to be focused to indicate the workspace container is focused.
This commit is contained in:
parent
d731d6a846
commit
fe608c80ae
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ bool set_focused_container(swayc_t *c) {
|
|||
} else if (c->type == C_WORKSPACE) {
|
||||
// remove previous focus if view_focus is unlocked
|
||||
if (!locked_view_focus) {
|
||||
update_container_border(c);
|
||||
wlc_view_focus(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue