Second attempt at focus/z-order as I missed a bit of Saber Rastikerdar's fix

This commit is contained in:
Stephen Boddy 2017-02-02 17:29:17 +01:00
parent 27febfc6cb
commit 558350344b

View File

@ -310,7 +310,7 @@ class Window(Container, Gtk.Window):
self.show()
self.grab_focus()
try:
t = GdkX11.x11_get_server_time(self.window)
t = GdkX11.x11_get_server_time(self.get_window())
except AttributeError:
t = 0
self.get_window().focus(t)