Skip to content

Commit

Permalink
Focus current terminal on window focus in
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypw committed Sep 15, 2024
1 parent 667072e commit 78d1a60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ namespace Terminal {
focus_timeout = Timeout.add (20, () => {
focus_timeout = 0;
save_opened_terminals (true, true);
current_terminal.grab_focus ();
return Source.REMOVE;
});
}
Expand Down

0 comments on commit 78d1a60

Please sign in to comment.