Merge pull request #462 from mattrose/issue-392

tell titlebar to start focussed out if it does not have focus
This commit is contained in:
Matt Rose 2021-07-02 19:29:27 -04:00 committed by GitHub
commit 3bb7d53235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class Terminal(Gtk.VBox):
self.titlebar.connect('edit-done', self.on_edit_done) self.titlebar.connect('edit-done', self.on_edit_done)
self.connect('title-change', self.titlebar.set_terminal_title) self.connect('title-change', self.titlebar.set_terminal_title)
self.titlebar.connect('create-group', self.really_create_group) self.titlebar.connect('create-group', self.really_create_group)
self.titlebar.update('window-focus-out')
self.titlebar.show_all() self.titlebar.show_all()
self.searchbar = Searchbar() self.searchbar = Searchbar()