Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/game.py b/game.py
index b882a28..fc4080b 100644
--- a/game.py
+++ b/game.py
@@ -186,6 +186,7 @@ class MazeGame(Gtk.DrawingArea):
if self._ebook_mode_detector.get_ebook_mode():
self._start_accelerometer()
self.close_finish_window()
+ self.grab_focus()
def __size_allocate_cb(self, widget, allocation):
self._recalculate_sizes(allocation)
@@ -759,7 +760,6 @@ class FinishWindow(Gtk.Window):
def __realize_cb(self, widget):
self.get_window().set_type_hint(Gdk.WindowTypeHint.DIALOG)
- self.get_window().set_accept_focus(True)
self.get_window().set_decorations(Gdk.WMDecoration.BORDER)
self.get_window().set_transient_for(self._parent_window_xid)