On Wednesday 27 of January 2010, Keith Packard wrote: > On Wed, 27 Jan 2010 22:59:45 +0100, Julien Cristau <[email protected]> wrote: > > diff --git a/dix/window.c b/dix/window.c > > index caff1cb..2676a54 100644 > > --- a/dix/window.c > > +++ b/dix/window.c > > @@ -3233,8 +3233,13 @@ dixSaveScreens(ClientPtr client, int on, int mode) > > } > > } > > screenIsSaved = what; > > - if (mode == ScreenSaverReset) > > - SetScreenSaverTimer(); > > + if (mode == ScreenSaverReset) { > > + if (on == SCREEN_SAVER_FORCER) { > > + UpdateCurrentTimeIf(); > > + lastDeviceEventTime = currentTime; > > + } > > + SetScreenSaverTimer(); > > + } > > return Success; > > } > > Yeah, if this works, it looks good to me. Testing would be appreciated.
It seems to work fine as far as my problem is concerned. -- Lubos Lunak openSUSE Boosters team, KDE developer [email protected] , [email protected] _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
