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>
This commit is contained in:
parent
4098ad72d0
commit
6b5978dcf1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue