Show More
@@ -64,7 +64,7 b' def inputhook(context):' | |||||
64 | timer.timeout.connect(event_loop.quit) |
|
64 | timer.timeout.connect(event_loop.quit) | |
65 | while not context.input_is_ready(): |
|
65 | while not context.input_is_ready(): | |
66 | timer.start(50) # 50 ms |
|
66 | timer.start(50) # 50 ms | |
67 |
event_loop |
|
67 | _exec(event_loop) | |
68 | timer.stop() |
|
68 | timer.stop() | |
69 | else: |
|
69 | else: | |
70 | # On POSIX platforms, we can use a file descriptor to quit the event |
|
70 | # On POSIX platforms, we can use a file descriptor to quit the event |
General Comments 0
You need to be logged in to leave comments.
Login now