aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/root.zig b/src/root.zig
index af1cff8..9700827 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -318,6 +318,9 @@ pub const Root = struct {
);
self.current_focused_tags = tags;
self.pending_focused_tags = null;
+
+ self.focused_view = null;
+ self.focusNextView();
}
var it = ViewStack.iterator(self.views.first, 0xFFFFFFFF);