Commit 2b5a1a55 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Added 'handled' return state to window update handler.

parent bb1c4065
...@@ -127,6 +127,7 @@ def create_context_window(w, h, callback): ...@@ -127,6 +127,7 @@ def create_context_window(w, h, callback):
"""Synchronize overlay with GTK window.""" """Synchronize overlay with GTK window."""
overlay.set_size(*window.get_size()) overlay.set_size(*window.get_size())
refresh() refresh()
return True
def handle_key(win, event): def handle_key(win, event):
"""Handle key event. 'f' toggles fullscreen, 'b' toggles bounding """Handle key event. 'f' toggles fullscreen, 'b' toggles bounding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment