diff options
author | Tony Crisci <tony@dubstepdish.com> | 2016-07-31 21:42:51 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2016-07-31 21:42:51 -0400 |
commit | fe608c80ae66d77f826ca077bd1c6a4fa7db3dd6 (patch) | |
tree | 5c24fa97a8e9c0be457a73b2614a1932b074aff4 /sway | |
parent | d731d6a846ec37e5a3c172fdd14801886d45ff93 (diff) |
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.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/focus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/focus.c b/sway/focus.c index 576a5e9b..45ec43e9 100644 --- a/sway/focus.c +++ b/sway/focus.c @@ -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); } } |