mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 10:40:25 +00:00
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:
committed by
Peter Hutterer
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
|
||||
|
||||
Reference in New Issue
Block a user