aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/Tools/d.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 17:47:08 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 17:47:08 +0100
commite0ca765a449d93d835588fb93f1c31233014025d (patch)
treeb1bdf326830a7050e78a430a22230f474882b79a /waflib/Tools/d.py
parentab21ada7abb8f276a14dbb63e32ce2774456bb1b (diff)
downloadpugl-e0ca765a449d93d835588fb93f1c31233014025d.tar.gz
pugl-e0ca765a449d93d835588fb93f1c31233014025d.tar.bz2
pugl-e0ca765a449d93d835588fb93f1c31233014025d.zip
Windows: Prevent input in one window from stalling another
This dispatches events on a per-window basic instead of globally, using the same mark trick as before to bound the number of events dispatched. After the events are dispatched, all the windows are updated if they have an invalid region. This ensures that all windows get drawn every iteration if necessary, since Windows itself does not send WM_PAINT messages if there is lots of input activity.
Diffstat (limited to 'waflib/Tools/d.py')
0 files changed, 0 insertions, 0 deletions