This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
Re: libXt linking errors
On Thu, Jan 04, 2001 at 06:45:04PM -0500, Suhaib Siddiqi wrote:
>
> Problem in your code
To see if the right mouse button is pressed, I do this:
if (event->xbutton.button == 3)
{ do stuff }
Where event is declared as "XEvent *event".
Is there a better way to do this that won't be affected by the number of
mouse buttons (assuming there are at least two of course)?
thanks again!
--
Chris Frost | <http://www.frostnet.net/chris/>
-------------+----------------------------------
Public PGP Key:
Email chris@frostnet.net with the subject "retrieve pgp key"
or visit <http://www.frostnet.net/chris/about/pgp_key.phtml>