From 6a550da2b01921e66f49badff11ac6ab9b88cd21 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 17 Aug 2020 09:55:07 +0300 Subject: Minor tweaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t disable screensaver, and the default site icon should be “no icon”. --- src/gmdocument.c | 2 +- src/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) { } else { d->themeSeed = 0; - d->siteIcon = 0x1f310; /* globe */ + d->siteIcon = 0; //0x1f310; /* globe */ } /* Set up colors. */ if (d->themeSeed) { diff --git a/src/main.c b/src/main.c index 2acc71a6..38d01b94 100644 --- a/src/main.c +++ b/src/main.c @@ -22,6 +22,7 @@ int main(int argc, char **argv) { init_Foundation(); printf("Lagrange: A Beautiful Gemini Client\n"); /* Initialize SDL. */ + SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { fprintf(stderr, "SDL init failed: %s\n", SDL_GetError()); return -1; -- cgit v1.2.3