summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-08-17 08:15:32 (GMT)
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-18 00:51:31 (GMT)
commit6b5978dcf1f7ac3ecc2f22df06f7000f360e2066 (patch)
tree8abaf431bb21a567fd914c51c13da24ed94f5991
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>
-rw-r--r--dix/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c
index 32e26d9..1a645f6 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