summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index f92107e3..27740326 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1769,12 +1769,8 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) {
1769 SDL_Event event = *ev; 1769 SDL_Event event = *ev;
1770 if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.unfreeze")) { 1770 if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.unfreeze")) {
1771 d->isDrawFrozen = iFalse; 1771 d->isDrawFrozen = iFalse;
1772 /* When the window is shown for the first time, ensure glyphs get
1773 re-cached correctly. */
1774 if (SDL_GetWindowFlags(d->win) & SDL_WINDOW_HIDDEN) { 1772 if (SDL_GetWindowFlags(d->win) & SDL_WINDOW_HIDDEN) {
1775 SDL_ShowWindow(d->win); 1773 SDL_ShowWindow(d->win);
1776 resetFonts_Text();
1777 postCommand_App("theme.changed");
1778 } 1774 }
1779 postRefresh_App(); 1775 postRefresh_App();
1780 return iTrue; 1776 return iTrue;