summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-21 00:12:34 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-21 00:12:34 +0200
commit02fc9553060b4a80e0b5e9c4bdc218dcbb7981c4 (patch)
tree89d5c6b013873b4feb1595abf5d72deb21ca50fc /src/ui
parentcebc848472629d63cf633973a34df0bc9858efc6 (diff)
Windows: Fixed dark mode for multiple windows
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 90588ccf..99dde786 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1346,6 +1346,7 @@ void draw_MainWindow(iMainWindow *d) {
1346 } 1346 }
1347 } 1347 }
1348 } 1348 }
1349 setCurrent_Window(d);
1349 const int winFlags = SDL_GetWindowFlags(d->base.win); 1350 const int winFlags = SDL_GetWindowFlags(d->base.win);
1350 const iBool gotFocus = (winFlags & SDL_WINDOW_INPUT_FOCUS) != 0; 1351 const iBool gotFocus = (winFlags & SDL_WINDOW_INPUT_FOCUS) != 0;
1351 iPaint p; 1352 iPaint p;