summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-20 14:31:22 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-20 14:31:22 +0200
commitd6c188d591da9d4d509d85b27d07c5521d71c39e (patch)
tree885c23d90087c73a69102d7cfc4bf41d2684b527
parent6d7b6122e68c8d53b6e7533a6e5d5f55e33831e1 (diff)
Window: Unfreeze command affects all frozen windows
-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 b0de0557..9d372019 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1040,7 +1040,7 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) {
1040 mw->isDrawFrozen = iFalse; 1040 mw->isDrawFrozen = iFalse;
1041 draw_MainWindow(mw); /* don't show a frame of placeholder content */ 1041 draw_MainWindow(mw); /* don't show a frame of placeholder content */
1042 postCommand_App("media.player.update"); /* in case a player needs updating */ 1042 postCommand_App("media.player.update"); /* in case a player needs updating */
1043 return iTrue; 1043 return iFalse; /* unfreeze all frozen windows */
1044 } 1044 }
1045 if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.sysframe") && mw) { 1045 if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.sysframe") && mw) {
1046 /* This command is sent on Android to update the keyboard height. */ 1046 /* This command is sent on Android to update the keyboard height. */