Explorar o código

Added 'handled' return state to window update handler.

Taddeus Kroes %!s(int64=13) %!d(string=hai) anos
pai
achega
2b5a1a5501
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/testapp.py

+ 1 - 0
tests/testapp.py

@@ -127,6 +127,7 @@ def create_context_window(w, h, callback):
         """Synchronize overlay with GTK window."""
         overlay.set_size(*window.get_size())
         refresh()
+        return True
 
     def handle_key(win, event):
         """Handle key event. 'f' toggles fullscreen, 'b' toggles bounding