Reset focus on switching between tags
This commit is contained in:
parent
b30b9ba57e
commit
149dd488a9
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue