aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/focus.c1
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);
}
}