diff options
author | Fredrik Höglund <fredrik@kde.org> | 2007-01-03 21:05:35 +0100 |
---|---|---|
committer | Fredrik Höglund <fredrik@kde.org> | 2007-01-03 21:05:35 +0100 |
commit | 3b5b7ef5c2ab1d196806f6359e0972fd78d204dd (patch) | |
tree | 22f93234b1584e81e1f9afaee4b0338a77b1a916 /os | |
parent | 953a9ef949b4c57d28daeec57031fe1ce368c27c (diff) |
Move the code for resetting the DPMS mode in response to input events,
from WaitForSomething to mieqProcessInputEvents.
mieqProcessInputEvents already handles resetting the screen saver.
Diffstat (limited to 'os')
-rw-r--r-- | os/WaitFor.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index ba227a3b6..d39964f30 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -337,10 +337,7 @@ WaitForSomething(int *pClientsReady) if (XFD_ANYSET(&tmp_set)) QueueWorkProc(EstablishNewConnections, NULL, (pointer)&LastSelectMask); -#ifdef DPMSExtension - if (XFD_ANYSET (&devicesReadable) && (DPMSPowerLevel != DPMSModeOn)) - DPMSSet(DPMSModeOn); -#endif + if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable)) break; #ifdef WIN32 |