diff options
author | Ken Moore <moorekou@gmail.com> | 2020-05-06 16:03:47 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-05-06 16:03:47 -0400 |
commit | 82901d366a7c6bfa4d4b7510f292abccc58b33d6 (patch) | |
tree | a5b53da08e19e4225f60dc7627471730e3e86bfd /src-qt5/core/libLumina/LuminaX11.h | |
parent | Convert to QElapsedTimer for a debugging timer. (diff) | |
download | lumina-82901d366a7c6bfa4d4b7510f292abccc58b33d6.tar.gz lumina-82901d366a7c6bfa4d4b7510f292abccc58b33d6.tar.bz2 lumina-82901d366a7c6bfa4d4b7510f292abccc58b33d6.zip |
Ensure that the xorg DPMS system is only enabled when the screensaver comes on.
It does not seem to have the same input/activity checks that the screensaver uses
Diffstat (limited to 'src-qt5/core/libLumina/LuminaX11.h')
-rw-r--r-- | src-qt5/core/libLumina/LuminaX11.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaX11.h b/src-qt5/core/libLumina/LuminaX11.h index 02897aee..a2c0c58a 100644 --- a/src-qt5/core/libLumina/LuminaX11.h +++ b/src-qt5/core/libLumina/LuminaX11.h @@ -123,6 +123,9 @@ public: bool CheckDisableXinerama(); //returns true if Xinerama was initially set but now disabled void RegisterVirtualRoots(QList<WId> roots); void SetCurrentWorkspace(int); + //Display Power Management System (DPMS) + void enableDPMS(); + void disableDPMS(); //Window Information QString WindowClass(WId); |