mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
perf, sched migration: Fix key bindings
EVT_KEY_DOWN and EVT_LEFT_DOWN events are not bound to the RootFrame event handler. As a result, zoom/scroll via keyboard events do not work. This patch adds the missing bindings. Signed-off-by: Nikhil Rao <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Tom Zanussi <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
This commit is contained in:
parent
207f90fc47
commit
be6d947691
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ class RootFrame(wx.Frame):
|
|||
self.scroll_panel.Bind(wx.EVT_KEY_DOWN, self.on_key_press)
|
||||
self.scroll_panel.Bind(wx.EVT_LEFT_DOWN, self.on_mouse_down)
|
||||
self.scroll.Bind(wx.EVT_PAINT, self.on_paint)
|
||||
self.scroll.Bind(wx.EVT_KEY_DOWN, self.on_key_press)
|
||||
self.scroll.Bind(wx.EVT_LEFT_DOWN, self.on_mouse_down)
|
||||
|
||||
self.scroll.Fit()
|
||||
self.Fit()
|
||||
|
|
|
|||
Loading…
Reference in a new issue