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:51:41 +0100
commitbcf8fa06f0c48612f14beb216521eea9c4957501 (patch)
treee89ee7463305e1e7a2367bb4e105da0f5a773e26 /src/screen.h
parent504511d4a5758ad54ee4650aa5a6ddc92e26bcb8 (diff)
downloadtdepowersave-bcf8fa06f0c48612f14beb216521eea9c4957501.tar.gz
tdepowersave-bcf8fa06f0c48612f14beb216521eea9c4957501.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> (cherry picked from commit d67bc99f08c6ba9113a769c45538ab3711cc1cfa)
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();