Added window resize handles. Fixed bugs with clicking, dragging and focus events.
This commit is contained in:
parent
067c77ac23
commit
0785a228aa
2 changed files with 167 additions and 14 deletions
|
|
@ -35,7 +35,7 @@ class WindowEventSource(EventSource):
|
|||
mouse_button_up_events = ['mouse-right-up', 'mouse-left-up',
|
||||
'mouse-middle-up']
|
||||
mouse_button_events = mouse_button_down_events + mouse_button_up_events + mouse_button_drag_events
|
||||
window_events = ['resize', 'move', 'focus']
|
||||
window_events = ['resize', 'move', 'focus', 'focus-lost']
|
||||
key_events = ['key-down', 'key-up', 'key-repeat']
|
||||
types = mouse_events + mouse_wheel_events + mouse_button_events +\
|
||||
window_events + key_events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue