diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 5699da4c..ff565b84 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1008,7 +1008,12 @@ void draw_Window(iWindow *d) { | |||
1008 | /* Clear the window. The clear color is visible as a border around the window | 1008 | /* Clear the window. The clear color is visible as a border around the window |
1009 | when the custom frame is being used. */ { | 1009 | when the custom frame is being used. */ { |
1010 | #if defined (iPlatformAppleMobile) | 1010 | #if defined (iPlatformAppleMobile) |
1011 | const iColor back = get_Color(uiBackground_ColorId); | 1011 | iColor back = get_Color(uiBackground_ColorId); |
1012 | if (deviceType_App() == phone_AppDeviceType) { | ||
1013 | /* Page background extends to safe area, so fill it completely. */ | ||
1014 | setCurrent_Root(d->roots[0]); | ||
1015 | back = get_Color(tmBackground_ColorId); | ||
1016 | } | ||
1012 | #else | 1017 | #else |
1013 | const iColor back = get_Color(gotFocus && d->place.snap != maximized_WindowSnap && | 1018 | const iColor back = get_Color(gotFocus && d->place.snap != maximized_WindowSnap && |
1014 | ~winFlags & SDL_WINDOW_FULLSCREEN_DESKTOP | 1019 | ~winFlags & SDL_WINDOW_FULLSCREEN_DESKTOP |