summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
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) {
769 d->focusGainedAt = SDL_GetTicks(); 769 d->focusGainedAt = SDL_GetTicks();
770 setCapsLockDown_Keys(iFalse); 770 setCapsLockDown_Keys(iFalse);
771 postCommand_App("window.focus.gained"); 771 postCommand_App("window.focus.gained");
772 d->isExposed = iTrue;
772#if defined (iPlatformMobile) 773#if defined (iPlatformMobile)
773 d->isExposed = iTrue; /* no expose event is sent, so now we know it's visible */
774 /* Returned to foreground, may have lost buffered content. */ 774 /* Returned to foreground, may have lost buffered content. */
775 invalidate_Window_(d); 775 invalidate_Window_(d);
776 postCommand_App("window.unfreeze"); 776 postCommand_App("window.unfreeze");