Lagrange [work/v1.9]

App: Event processing tweak

=> Jaakko Keränen

Fri Feb 4 15:15:15 2022 +0200

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.

 src/app.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent 69541c03 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.9/commits/cf37fc31
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
283.496954 milliseconds
Gemini-to-HTML Time
0.572736 milliseconds

This content has been proxied by September (ba2dc).