summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-08-17 09:15:32 +0100
committerKeith Packard <keithp@keithp.com>2009-08-25 20:12:16 -0700
commita32d717ac64b21e15a5736ae4981cdd32f2da56b (patch)
treea4e6459c780ee78ef2fa95585e4ee085c1a6f4b6 /dix
parent32115e690f43fde619234722aa674ff1ae1b44ae (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> (cherry picked from commit 6b5978dcf1f7ac3ecc2f22df06f7000f360e2066)
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 a9d00f91b..e0b0decce 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -3169,8 +3169,6 @@ dixSaveScreens(ClientPtr client, int on, int mode)
if (on == SCREEN_SAVER_FORCER)
{
- UpdateCurrentTimeIf();
- lastDeviceEventTime = currentTime;
if (mode == ScreenSaverReset)
what = SCREEN_SAVER_OFF;
else