Implement Manager#handle_pending_events

This commit is contained in:
Thibault Jouan
2015-04-08 22:26:30 +00:00
parent d3007201cc
commit 585903240b
2 changed files with 41 additions and 1 deletions

View File

@@ -14,6 +14,13 @@ module Uh
def grab_key keysym
@display.grab_key keysym.to_s, KEY_MODIFIERS[:mod1]
end
def handle_pending_events
handle @display.next_event while @display.pending?
end
def handle event
end
end
end
end