From 18a4ae0098ce407cae02433c22f39a873196cd51 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 17 May 2018 16:26:39 +0200 Subject: [PATCH] Screensaver: try to fix background Ensure to have blank background before paint screensaver content. This should avoid possible holes with some images. --- .../backgrounds/1280x720/blackscreen.jpg | Bin 0 -> 3884 bytes data/pictures/backgrounds/Makefile.am | 1 + src/gui/screensaver.cpp | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 data/pictures/backgrounds/1280x720/blackscreen.jpg diff --git a/data/pictures/backgrounds/1280x720/blackscreen.jpg b/data/pictures/backgrounds/1280x720/blackscreen.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c3cd9e3897a03170a4daaa379fd15a21de4234f1 GIT binary patch literal 3884 zcmex=SetAspectRatio(float(4.0/3)); m_viewer->Cleanup(); - m_frameBuffer->stopFrame(); if(!thrScreenSaver) @@ -162,6 +161,7 @@ void* CScreenSaver::ScreenSaverPrg(void* arg) PScreenSaver->ReadDir(); //TODO kill Screensaver if false PScreenSaver->m_frameBuffer->Clear(); + PScreenSaver->m_frameBuffer->showFrame("blackscreen.jpg"); if (g_settings.screensaver_timeout) {