NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/39209: XGrabKeyboard time problem seen with openmotif menu



>Number:         39209
>Category:       xsrc
>Synopsis:       XGrabKeyboard time problem seen with openmotif menu
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 25 18:00:00 +0000 2008
>Originator:     Cliff Wright
>Release:        NetBSD 4.0
>Organization:
        
>Environment:
        
        
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
Architecture: sparc
Machine: sparc
>Description:
        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.
>How-To-Repeat:
        
>Fix:
        Revert xsrc/xfree/xc/programs/Xserver/os/GetTimeInMillis to
        CVS version 1.4

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index