From afbeab58beb1a23b1ba3192c6361ab5fe9768f1c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 24 May 2018 00:54:19 +0200 Subject: [PATCH] screensaver: paint blackscreen.jpg before starting screensaver to get sure we have a blank screen Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/df30f2957f5b15268450573a43846cb40dd3fa40 Author: vanhofen Date: 2018-05-24 (Thu, 24 May 2018) Origin message was: ------------------ - screensaver: paint blackscreen.jpg before starting screensaver to get sure we have a blank screen --- src/gui/screensaver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index 613f794c5..820016757 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -116,6 +116,7 @@ void CScreenSaver::Start() m_viewer->SetAspectRatio(float(4.0/3)); m_viewer->Cleanup(); + m_frameBuffer->showFrame("blackscreen.jpg"); // hack to get sure we have a blank screen m_frameBuffer->stopFrame(); if(!thrScreenSaver)