diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 1 |
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; |