summaryrefslogtreecommitdiff
path: root/src/ui/root.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-04 15:15:15 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-04 15:15:15 +0200
commitcf37fc31c6ef9a4ed01b6b9b642b858d2b7965eb (patch)
treeeaa5f3d36e4470441d7fae540c233ff364d187a6 /src/ui/root.h
parent69541c037e67635787b334b326a4850f1703a763 (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/root.h')
0 files changed, 0 insertions, 0 deletions