From 11f816e71e8abf329a070b1dc4f7f7ddb7fe3339 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi
Date: Sun, 9 May 2021 15:08:43 +0300
Subject: [PATCH 1/1] Window: Workaround for lack of window expose event
IssueID #264
src/ui/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ui/window.c b/src/ui/window.c
index 4cbb8d00..99430a05 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -769,8 +769,8 @@ static iBool handleWindowEvent_Window_(iWindow *d, const SDL_WindowEvent *ev) {
d->focusGainedAt = SDL_GetTicks();
setCapsLockDown_Keys(iFalse);
postCommand_App("window.focus.gained");
d->isExposed = iTrue;
#if defined (iPlatformMobile)
d->isExposed = iTrue; /* no expose event is sent, so now we know it's visible */
/* Returned to foreground, may have lost buffered content. */
invalidate_Window_(d);
postCommand_App("window.unfreeze");
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).