From bcf8fa06f0c48612f14beb216521eea9c4957501 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 13 Mar 2016 16:50:36 +0100 Subject: Fixed up timer for autosuspend and autodimm when a screensaver is also in use. This resolves bug 2603. Signed-off-by: Michele Calgaro (cherry picked from commit d67bc99f08c6ba9113a769c45538ab3711cc1cfa) --- src/screen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/screen.h') diff --git a/src/screen.h b/src/screen.h index 56f2acd..eb45fb4 100644 --- a/src/screen.h +++ b/src/screen.h @@ -170,6 +170,8 @@ public: int checkScreenSaverStatus(); //! for check the actual status of DPMS on the machine int checkDPMSStatus(); + //! for check whether the screensaver is being displayed or not + bool checkScreenSaverActive(); //! default constructor screen(); -- cgit v1.2.1