[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xsrc/39209: XGrabKeyboard time problem seen with openmotif menu
>Synopsis: XGrabKeyboard time problem seen with openmotif menu
>Arrival-Date: Fri Jul 25 18:00:00 +0000 2008
>Originator: Cliff Wright
>Release: NetBSD 4.0
System: NetBSD blitzen-qemu 4.0 NetBSD 4.0 (GENERIC) #2: Wed Jul 23 10:19:59
PDT 2008 cliff@blitzen-qemu/usr/src/sys/arch/sparc/compile/GENERIC sparc
A program using openmotif could not pop up a menu. I tracked
this down to a call of XtGrabKeyboard returning GrabInvalidTime.
This occurs because the version of GetTimeInMillis that NetBSD
uses was modified to return a delta time instead of absolute
time, which is incompatible with devices that return absolute
time. This change to delta was made in an attempt to guarantee
an always increasing time. However their are 8 different places
where this function is implemented, and only the one had the
change. Also it is not clear if this is an Xfree86 change, or
a NetBSD change. I don't see the file in Xfree86 CVS(including
attic), but it does show in a changelog.
Reverting to the absolute time version fixed the problem for me.
Revert xsrc/xfree/xc/programs/Xserver/os/GetTimeInMillis to
CVS version 1.4
Main Index |
Thread Index |