From c56f60d603446d1394f4e0afcdd3066806e41ea7 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 21 May 2018 15:06:07 +0200 Subject: [PATCH] src/gui/screensaver.cpp: ensure usage of transparent background for clock --- src/gui/screensaver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index b75362533..f6a46dc3d 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -266,9 +266,10 @@ void CScreenSaver::paint() if (!scr_clock){ scr_clock = new CComponentsFrmClock(1, 1, NULL, "%H:%M:%S", "%H:%M %S", true, 1, NULL, CC_SHADOW_OFF, COL_BLACK, COL_BLACK); + scr_clock->setCornerType(CORNER_NONE); scr_clock->setClockFont(g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]); scr_clock->disableSaveBg(); - scr_clock->doPaintBg(true); + scr_clock->doPaintBg(false); } if (scr_clock->isPainted()) scr_clock->Stop();