diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index ff565b84..abdc363d 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1007,11 +1007,11 @@ void draw_Window(iWindow *d) { | |||
1007 | init_Paint(&p); | 1007 | init_Paint(&p); |
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 | setCurrent_Root(d->roots[0]); | ||
1010 | #if defined (iPlatformAppleMobile) | 1011 | #if defined (iPlatformAppleMobile) |
1011 | iColor back = get_Color(uiBackground_ColorId); | 1012 | iColor back = get_Color(uiBackground_ColorId); |
1012 | if (deviceType_App() == phone_AppDeviceType) { | 1013 | if (deviceType_App() == phone_AppDeviceType) { |
1013 | /* Page background extends to safe area, so fill it completely. */ | 1014 | /* Page background extends to safe area, so fill it completely. */ |
1014 | setCurrent_Root(d->roots[0]); | ||
1015 | back = get_Color(tmBackground_ColorId); | 1015 | back = get_Color(tmBackground_ColorId); |
1016 | } | 1016 | } |
1017 | #else | 1017 | #else |