Second attempt at focus/z-order as I missed a bit of Saber Rastikerdar's fix
This commit is contained in:
parent
27febfc6cb
commit
558350344b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue