diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-04 15:15:15 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-04 15:15:15 +0200 |
commit | cf37fc31c6ef9a4ed01b6b9b642b858d2b7965eb (patch) | |
tree | eaa5f3d36e4470441d7fae540c233ff364d187a6 /src/ui/command.h | |
parent | 69541c037e67635787b334b326a4850f1703a763 (diff) |
App: Event processing tweak
Refresh events will never be dispatched (it would be pointless), but instead just set a flag that prevents SDL_WaitEvent() to be called.
SDL_WaitEvent() should never be called anyway because `pendingRefresh` is set, but this makes it clearer and skips other unnecessary checks.
Diffstat (limited to 'src/ui/command.h')
0 files changed, 0 insertions, 0 deletions