summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/sidebarwidget.c2
-rw-r--r--src/ui/window.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 42661f6b..821f8118 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -743,7 +743,7 @@ void init_SidebarWidget(iSidebarWidget *d, enum iSidebarSide side) {
743#if defined (iPlatformMobile) 743#if defined (iPlatformMobile)
744 if (deviceType_App() == phone_AppDeviceType) { 744 if (deviceType_App() == phone_AppDeviceType) {
745 d->itemFonts[0] = uiLabelBig_FontId; 745 d->itemFonts[0] = uiLabelBig_FontId;
746 d->itemFonts[1] = defaultBigBold_FontId; 746 d->itemFonts[1] = uiLabelBigBold_FontId;
747 } 747 }
748 d->widthAsGaps = 73.0f; 748 d->widthAsGaps = 73.0f;
749#else 749#else
diff --git a/src/ui/window.c b/src/ui/window.c
index 569ec919..83dae427 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -537,6 +537,7 @@ void init_MainWindow(iMainWindow *d, iRect rect) {
537#elif defined (iPlatformAppleMobile) 537#elif defined (iPlatformAppleMobile)
538 SDL_SetHint(SDL_HINT_RENDER_DRIVER, "metal"); 538 SDL_SetHint(SDL_HINT_RENDER_DRIVER, "metal");
539 flags |= SDL_WINDOW_METAL; 539 flags |= SDL_WINDOW_METAL;
540 d->base.isExposed = iTrue;
540#else 541#else
541 if (!forceSoftwareRender_App()) { 542 if (!forceSoftwareRender_App()) {
542 flags |= SDL_WINDOW_OPENGL; 543 flags |= SDL_WINDOW_OPENGL;
@@ -615,7 +616,11 @@ void init_MainWindow(iMainWindow *d, iRect rect) {
615 SDL_EventState(SDL_SYSWMEVENT, SDL_TRUE); 616 SDL_EventState(SDL_SYSWMEVENT, SDL_TRUE);
616 } 617 }
617#endif 618#endif
619#if defined (iPlatformDesktop)
618 SDL_HideWindow(d->base.win); 620 SDL_HideWindow(d->base.win);
621#else
622 SDL_ShowWindow(d->base.win);
623#endif
619} 624}
620 625
621void deinit_MainWindow(iMainWindow *d) { 626void deinit_MainWindow(iMainWindow *d) {