libXt linking errors
Chris Frost
chris@frostnet.net
Sun Apr 1 00:00:00 GMT 2001
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 >
More information about the Cygwin-xfree
mailing list