diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-17 09:55:07 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-17 09:55:07 +0300 |
commit | 6a550da2b01921e66f49badff11ac6ab9b88cd21 (patch) | |
tree | 07e5483943f6aff06204d1dc01c7a8c5bc9d466e /src | |
parent | 38fa85bae271de5cfb1c5b7137fb3de0e6a07cd1 (diff) |
Minor tweaks
Don’t disable screensaver, and the default site icon should be “no icon”.
Diffstat (limited to 'src')
-rw-r--r-- | src/gmdocument.c | 2 | ||||
-rw-r--r-- | src/main.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 16f71b34..535a873e 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -659,7 +659,7 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { | |||
659 | } | 659 | } |
660 | else { | 660 | else { |
661 | d->themeSeed = 0; | 661 | d->themeSeed = 0; |
662 | d->siteIcon = 0x1f310; /* globe */ | 662 | d->siteIcon = 0; //0x1f310; /* globe */ |
663 | } | 663 | } |
664 | /* Set up colors. */ | 664 | /* Set up colors. */ |
665 | if (d->themeSeed) { | 665 | if (d->themeSeed) { |
@@ -22,6 +22,7 @@ int main(int argc, char **argv) { | |||
22 | init_Foundation(); | 22 | init_Foundation(); |
23 | printf("Lagrange: A Beautiful Gemini Client\n"); | 23 | printf("Lagrange: A Beautiful Gemini Client\n"); |
24 | /* Initialize SDL. */ | 24 | /* Initialize SDL. */ |
25 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); | ||
25 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { | 26 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { |
26 | fprintf(stderr, "SDL init failed: %s\n", SDL_GetError()); | 27 | fprintf(stderr, "SDL init failed: %s\n", SDL_GetError()); |
27 | return -1; | 28 | return -1; |