Touch UI: esc fullscreen
This patch moves sugar3.graphics.Window key-press-event handling. It will now be after any other event handling from deived classes. Fixes #475
This commit is contained in:
parent
d918e7afff
commit
c0319389e8
@ -92,7 +92,7 @@ class Window(Gtk.Window):
|
|||||||
self.set_decorated(False)
|
self.set_decorated(False)
|
||||||
self.maximize()
|
self.maximize()
|
||||||
self.connect('realize', self.__window_realize_cb)
|
self.connect('realize', self.__window_realize_cb)
|
||||||
self.connect('key-press-event', self.__key_press_cb)
|
self.connect_after('key-press-event', self.__key_press_cb)
|
||||||
|
|
||||||
# OSK support: canvas auto panning based on input focus
|
# OSK support: canvas auto panning based on input focus
|
||||||
if GObject.signal_lookup('request-clear-area', Window) != 0 and \
|
if GObject.signal_lookup('request-clear-area', Window) != 0 and \
|
||||||
|
Loading…
Reference in New Issue
Block a user