diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-02-16 14:35:27 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-02-16 14:35:27 +0000 |
commit | b1f7fe555c5a7d30b03398f6f3c23675e568e3ac (patch) | |
tree | ba3c1ec2a353919dad8b029e9e464705008999a9 /src/viewport.c | |
parent | 8323dfc6fca584c77abd22b03bce7af8996ab218 (diff) | |
download | imv-b1f7fe555c5a7d30b03398f6f3c23675e568e3ac.tar.gz |
Fix truncated path list from stdin
It turns out, the paths from stdin weren't being truncated. The issue
was with the use of the SDL event queue for passing the paths back to
imv's main thread.
The events were being pushed correctly, but due to a workaround for a
bug in SDL, instead of flushing the contents of the event queue, we now
ignore window events until all events already in the queue have been
handled.
This fixes #141
Diffstat (limited to 'src/viewport.c')
0 files changed, 0 insertions, 0 deletions