aseprite / laf

A C++ library to create desktop applications
https://aseprite.github.io/laf/
MIT License
274 stars 58 forks source link

Flush pending events before opening pipe to zenity #72

Closed Joefish closed 9 months ago

Joefish commented 10 months ago

Mouse clicks are ignored when we open a pipe to zenity without flushing the pending X11 events first because popen stalls aseprite execution until we selected a file. This is in response to https://github.com/aseprite/aseprite/issues/3974

I agree that my contributions are licensed under the MIT License. You can find a copy of this license at https://opensource.org/licenses/MIT

dacap commented 9 months ago

Thanks a lot of this fix @Joefish, I'll merge it 👍