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.show()
|
||||||
self.grab_focus()
|
self.grab_focus()
|
||||||
try:
|
try:
|
||||||
t = GdkX11.x11_get_server_time(self.window)
|
t = GdkX11.x11_get_server_time(self.get_window())
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
t = 0
|
t = 0
|
||||||
self.get_window().focus(t)
|
self.get_window().focus(t)
|
||||||
|
|
Loading…
Reference in New Issue