summaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-03-13 16:50:36 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-03-13 16:50:36 +0100
commitd67bc99f08c6ba9113a769c45538ab3711cc1cfa (patch)
treea288b1a17230f7fa4a1e759d2455c2a43a4c984d /src/screen.h
parent2f0cf5202c83fe9d034dc3254e8db127f5bdffe3 (diff)
downloadtdepowersave-d67bc99f08c6ba9113a769c45538ab3711cc1cfa.tar.gz
tdepowersave-d67bc99f08c6ba9113a769c45538ab3711cc1cfa.zip
Fixed up timer for autosuspend and autodimm when a screensaver is also in use. This resolves bug 2603.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h2
1 files changed, 2 insertions, 0 deletions
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();