On Sat, 2 Jan 2010 11:58:40 +0000, Julien Cristau <[email protected]> wrote:
> --- a/dix/dispatch.c
> +++ b/dix/dispatch.c
> @@ -3517,6 +3517,11 @@ int ProcForceScreenSaver(ClientPtr client)
> rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, (int)stuff->mode);
> if (rc != Success)
> return rc;
> + if (stuff->mode == ScreenSaverReset)
> + {
> + UpdateCurrentTimeIf();
> + lastDeviceEventTime = currentTime;
> + }
Seems like it would be better to stick this back in dixSaveScreens where
it used to be, but restricted to only being done in the
SCREE_SAVER_FORCER path when mode is ScreenSaverReset. That way you pick
up all of the other ScreenSaverReset cases as well (VT switch,
suspend/resume and server startup/shutdown).
--
[email protected]
pgp36W6gjSaNO.pgp
Description: PGP signature
_______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
