*BSD News Article 3908


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mel.dit.csiro.au!mineng.dmpe.CSIRO.AU!dmssyd.syd.dms.CSIRO.AU!metro!news
From: dawes@physics.su.OZ.AU (David Dawes)
Subject: Re: Motif on X386???
Message-ID: <1992Aug19.153131.28738@ucc.su.OZ.AU>
Sender: news@ucc.su.OZ.AU
Nntp-Posting-Host: physics.su.oz.au
Organization: School of Physics, University of Sydney, Australia
References: <1992Aug18.174802.9845@BitBlocks.com> <090m_#b.hasty@netcom.com> <1992Aug19.062455.12847@BitBlocks.com>
Date: Wed, 19 Aug 1992 15:31:31 GMT
Lines: 34

In article <1992Aug19.062455.12847@BitBlocks.com> bvs@BitBlocks.com (Bakul Shah) writes:
>hasty@netcom.com (Amancio Hasty Jr) writes:
>
>>In article <1992Aug18.174802.9845@BitBlocks.com> bvs@BitBlocks.com (Bakul Shah) writes:
>>>Make sure you are using the latest com.c driver (with select()
>>>bug fixed).  But even then there is some problem with the mouse
>>>code in X386 as the very first button press is not seen until
>>>after you either release the button or move the mouse a bit.
>>>
>>>If you wish to track this problem down, check out file
>>>$X11R5/mit/server/ddx/x386/x386Io.c.  Routine x386MseEvents()
>>>seems to be the culprit.
>>>
>>Rich (rich@rice.edu) already fix this problem in the next upcoming release 
>>of X386 1.2E 1.0.2 for 386bsd 0.1, please ask him for the fix. The problem
>>in a nutshell is that X386Io.c is not setting the cflag. the fix was also
>>previously posted by me.
>
>I have already applied that patch but I still see the same symptom.
>May be this only happens with a Microsoft compatible mouse.

If you have 3ButtonEmulation turned on then this is the reason.  With
this enabled the button push event is not acknowledged until another
mouse event is received.  This happens with X386 on all platforms.

If someone can some up with a better 3button emulation method for 2 button
mice, then let us know.

David
--
------------------------------------------------------------------------------
 David Dawes (dawes@physics.su.oz.au)    DoD#210      | Phone: +61 2 692 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------