Skip to content

Commit

Permalink
Do not reset lastDeviceEventTime when we do dixSaveScreens
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hughsie authored and whot committed Aug 18, 2009
1 parent 4098ad7 commit 6b5978d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dix/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b5978d

Please sign in to comment.