xserver: Branch 'master'

Peter Hutterer whot at kemper.freedesktop.org
Mon Aug 17 18:30:58 PDT 2009


 dix/window.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 6b5978dcf1f7ac3ecc2f22df06f7000f360e2066
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Aug 17 09:15:32 2009 +0100

    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 at who-t.net>

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


More information about the xorg-commit mailing list