mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 20:20:13 +01: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:
parent
4098ad72d0
commit
6b5978dcf1
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue