Fixes issue introduced by gtk3 port (Saber Rastikerdar in lp:805870)

This commit is contained in:
Stephen Boddy 2017-02-01 18:57:36 +01:00
parent fd346ed1cf
commit 37ea9c90dc

View File

@ -313,7 +313,7 @@ class Window(Container, Gtk.Window):
t = GdkX11.x11_get_server_time(self.window)
except AttributeError:
t = 0
self.window.focus(t)
self.get_window().focus(t)
else:
self.position = self.get_position()
self.hidefunc()