diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 3 | ||||
-rw-r--r-- | src/gmdocument.c | 4 | ||||
-rw-r--r-- | src/ui/documentwidget.c | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -670,6 +670,9 @@ void processEvents_App(enum iAppEventMode eventMode) { | |||
670 | case SDL_APP_LOWMEMORY: | 670 | case SDL_APP_LOWMEMORY: |
671 | clearCache_App_(); | 671 | clearCache_App_(); |
672 | break; | 672 | break; |
673 | case SDL_APP_WILLENTERFOREGROUND: | ||
674 | postRefresh_App(); | ||
675 | break; | ||
673 | case SDL_APP_TERMINATING: | 676 | case SDL_APP_TERMINATING: |
674 | case SDL_APP_WILLENTERBACKGROUND: | 677 | case SDL_APP_WILLENTERBACKGROUND: |
675 | savePrefs_App_(d); | 678 | savePrefs_App_(d); |
diff --git a/src/gmdocument.c b/src/gmdocument.c index f73b7dc4..15ed04b6 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -803,8 +803,8 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { | |||
803 | set_Color(tmHeading2_ColorId, mix_Color(get_Color(tmBackground_ColorId), get_Color(black_ColorId), 0.67f)); | 803 | set_Color(tmHeading2_ColorId, mix_Color(get_Color(tmBackground_ColorId), get_Color(black_ColorId), 0.67f)); |
804 | set_Color(tmHeading3_ColorId, mix_Color(get_Color(tmBackground_ColorId), get_Color(black_ColorId), 0.55f)); | 804 | set_Color(tmHeading3_ColorId, mix_Color(get_Color(tmBackground_ColorId), get_Color(black_ColorId), 0.55f)); |
805 | setHsl_Color(tmBannerBackground_ColorId, addSatLum_HSLColor(base, 0, -0.1f)); | 805 | setHsl_Color(tmBannerBackground_ColorId, addSatLum_HSLColor(base, 0, -0.1f)); |
806 | setHsl_Color(tmBannerIcon_ColorId, addSatLum_HSLColor(base, 0, -0.2f)); | 806 | setHsl_Color(tmBannerIcon_ColorId, addSatLum_HSLColor(base, 0, -0.4f)); |
807 | setHsl_Color(tmBannerTitle_ColorId, addSatLum_HSLColor(base, 0, -0.2f)); | 807 | setHsl_Color(tmBannerTitle_ColorId, addSatLum_HSLColor(base, 0, -0.4f)); |
808 | setHsl_Color(tmLinkIcon_ColorId, addSatLum_HSLColor(get_HSLColor(teal_ColorId), 0, 0)); | 808 | setHsl_Color(tmLinkIcon_ColorId, addSatLum_HSLColor(get_HSLColor(teal_ColorId), 0, 0)); |
809 | set_Color(tmLinkIconVisited_ColorId, mix_Color(get_Color(tmBackground_ColorId), get_Color(teal_ColorId), 0.35f)); | 809 | set_Color(tmLinkIconVisited_ColorId, mix_Color(get_Color(tmBackground_ColorId), get_Color(teal_ColorId), 0.35f)); |
810 | set_Color(tmLinkDomain_ColorId, get_Color(teal_ColorId)); | 810 | set_Color(tmLinkDomain_ColorId, get_Color(teal_ColorId)); |
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 683793ea..7e7ac79f 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -670,7 +670,7 @@ static void updateWindowTitle_DocumentWidget_(const iDocumentWidget *d) { | |||
670 | const iChar siteIcon = siteIcon_GmDocument(d->doc); | 670 | const iChar siteIcon = siteIcon_GmDocument(d->doc); |
671 | if (siteIcon) { | 671 | if (siteIcon) { |
672 | if (!isEmpty_String(text)) { | 672 | if (!isEmpty_String(text)) { |
673 | prependCStr_String(text, " "); | 673 | prependCStr_String(text, " "); |
674 | } | 674 | } |
675 | prependChar_String(text, siteIcon); | 675 | prependChar_String(text, siteIcon); |
676 | } | 676 | } |