diff options
author | David Robillard <d@drobilla.net> | 2020-03-08 17:47:08 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-08 17:47:08 +0100 |
commit | e0ca765a449d93d835588fb93f1c31233014025d (patch) | |
tree | b1bdf326830a7050e78a430a22230f474882b79a /examples | |
parent | ab21ada7abb8f276a14dbb63e32ce2774456bb1b (diff) | |
download | pugl-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 'examples')
0 files changed, 0 insertions, 0 deletions