Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,12 @@ namespace Terminal {

title = term.window_title != "" ? term.window_title
: term.current_working_directory;
term.grab_focus ();

// Need to wait for default handler to run before focusing
Idle.add (() => {
term.grab_focus ();
return Source.REMOVE;
});
});

var overlay = new Gtk.Overlay () {
Expand Down