=== modified file 'terminatorlib/window.py' --- terminatorlib/window.py 2015-11-28 16:25:47 +0000 +++ terminatorlib/window.py 2015-11-29 18:30:48 +0000 @@ -479,10 +479,10 @@ for term in order: container.add(term) container.show_all() + + while Gtk.events_pending(): + Gtk.main_iteration_do(False) sibling.grab_focus() - - while Gtk.events_pending(): - Gtk.main_iteration_do(False) self.set_pos_by_ratio = False @@ -546,10 +546,10 @@ for p in paned: p.rotate(widget, clockwise) self.show_all() - widget.grab_focus() while Gtk.events_pending(): Gtk.main_iteration_do(False) + widget.grab_focus() self.set_pos_by_ratio = False def get_visible_terminals(self):