summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-08-17 09:15:32 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-18 10:51:31 +1000
commit6b5978dcf1f7ac3ecc2f22df06f7000f360e2066 (patch)
tree8abaf431bb21a567fd914c51c13da24ed94f5991 /dix
parent4098ad72d00e65d142fb9fe8a1194be35338508b (diff)
Do not reset lastDeviceEventTime when we do dixSaveScreens
When we turn off DPMS with DPMSModeOff and do dixSaveScreens, don't reset the event time else session clients using IDLETIME will be reset. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c
index 32e26d986..1a645f61f 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -3128,8 +3128,6 @@ dixSaveScreens(ClientPtr client, int on, int mode)
if (on == SCREEN_SAVER_FORCER)
{
- UpdateCurrentTimeIf();
- lastDeviceEventTime = currentTime;
if (mode == ScreenSaverReset)
what = SCREEN_SAVER_OFF;
else