aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2017-02-09 21:28:12 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-17 09:40:37 +0100
commit6307e6fc72f3cd748c9dc0e601a87171131309ea (patch)
treef566350ac7d3f6c3823f5f87468f9d3813363803 /nx-X11/programs/Xserver/os
parent9b934a44772ded19812ed4665265cc43fb751169 (diff)
downloadnx-libs-6307e6fc72f3cd748c9dc0e601a87171131309ea.tar.gz
nx-libs-6307e6fc72f3cd748c9dc0e601a87171131309ea.tar.bz2
nx-libs-6307e6fc72f3cd748c9dc0e601a87171131309ea.zip
Move the code for resetting the DPMS mode in response to input events, from WaitForSomething to mieqProcessInputEvents.
Backported from X.org: commit 3b5b7ef5c2ab1d196806f6359e0972fd78d204dd Author: Fredrik Höglund <fredrik@kde.org> Date: Wed Jan 3 21:05:35 2007 +0100 Move the code for resetting the DPMS mode in response to input events, from WaitForSomething to mieqProcessInputEvents. mieqProcessInputEvents already handles resetting the screen saver. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver/os')
-rw-r--r--nx-X11/programs/Xserver/os/WaitFor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/os/WaitFor.c b/nx-X11/programs/Xserver/os/WaitFor.c
index 19a1b9809..d94ada1d5 100644
--- a/nx-X11/programs/Xserver/os/WaitFor.c
+++ b/nx-X11/programs/Xserver/os/WaitFor.c
@@ -509,10 +509,6 @@ WaitForSomething(int *pClientsReady)
if (XFD_ANYSET(&tmp_set))
HandleNotifyFds();
-#ifdef DPMSExtension
- if (XFD_ANYSET (&devicesReadable) && (DPMSPowerLevel != DPMSModeOn))
- DPMSSet(DPMSModeOn);
-#endif
if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable))
break;
#ifdef WIN32