On Wed, Apr 11, 2012 at 11:22:14AM -0700, Chase Douglas wrote: > See UpdateCurrentTime() for reference. I don't know what bug this might > trigger, but it wouldn't hurt to fix this. > > Signed-off-by: Chase Douglas <[email protected]> > --- > dix/dispatch.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/dix/dispatch.c b/dix/dispatch.c > index 104dcc9..bce3a0d 100644 > --- a/dix/dispatch.c > +++ b/dix/dispatch.c > @@ -214,7 +214,7 @@ UpdateCurrentTimeIf(void) > systime.milliseconds = GetTimeInMillis(); > if (systime.milliseconds < currentTime.milliseconds) > systime.months++; > - if (*checkForInput[0] == *checkForInput[1]) > + if (CompareTimeStamps(systime, currentTime) == LATER) > currentTime = systime; > } > > -- > 1.7.9.1
2, 3 and 5, Reviewed-by: Peter Hutterer <[email protected]> Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
