=> 1d4402e7ee9f208232227ded6add865b67e849af
[1mdiff --git a/src/ui/window.c b/src/ui/window.c[m [1mindex 8197afd4..0863aa47 100644[m [1m--- a/src/ui/window.c[m [1m+++ b/src/ui/window.c[m [36m@@ -561,6 +561,7 @@[m [mvoid init_MainWindow(iMainWindow *d, iRect rect) {[m SDL_EventState(SDL_SYSWMEVENT, SDL_TRUE);[m }[m #endif[m [32m+[m[32m SDL_HideWindow(d->base.win);[m }[m [m void deinit_MainWindow(iMainWindow *d) {[m [36m@@ -731,14 +732,11 @@[m [mstatic iBool handleWindowEvent_MainWindow_(iMainWindow *d, const SDL_WindowEvent[m switch (ev->event) {[m #if defined(iPlatformDesktop)[m case SDL_WINDOWEVENT_EXPOSED:[m [31m- if (!d->base.isExposed) {[m [31m- drawBlank_Window_(as_Window(d)); /* avoid showing system-provided contents */[m [31m- d->base.isExposed = iTrue;[m [31m- }[m [32m+[m[32m d->base.isExposed = iTrue;[m /* Since we are manually controlling when to redraw the window, we are responsible[m [31m- for ensuring that window contents get redrawn after expose events. Under certain[m [31m- circumstances (e.g., under openbox), not doing this would mean that the window[m [31m- is missing contents until other events trigger a refresh. */[m [32m+[m[32m for ensuring that window contents get redrawn after expose events. Under certain[m [32m+[m[32m circumstances (e.g., under openbox), not doing this would mean that the window[m [32m+[m[32m is missing contents until other events trigger a refresh. */[m postRefresh_App();[m #if defined(LAGRANGE_ENABLE_WINDOWPOS_FIX)[m if (d->place.initialPos.x >= 0) {[m [36m@@ -918,7 +916,7 @@[m [miBool processEvent_Window(iWindow *d, const SDL_Event *ev) {[m if (SDL_GetWindowFlags(d->win) & SDL_WINDOW_HIDDEN) {[m SDL_ShowWindow(d->win);[m }[m [31m- postRefresh_App();[m [32m+[m[32m draw_MainWindow(mw); /* don't show a frame of placeholder content */[m postCommand_App("media.player.update"); /* in case a player needs updating */[m return iTrue;[m }[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).