[PATCH] Add support for "back/forward" (thumb) mouse buttons to XWin

Chris B news@semperpax.com
Sun Aug 15 20:18:00 GMT 2004


Hi,

This patch adds support for thumb mouse buttons to XWin/cygwin.

It's quite rough at the edges, probably. It works on XP but cannot test it on 
other windows versions. It will probably do no harm on Win98 as it won't send 
the messages, anyway.

I also had to add the definition of the messages 
to /usr/include/w32api/winuser.h. This is quite ugly but the WM_XBUTTON.. 
messages only appeared from Millennium/2000 on, and I suppose winuser.h is 
meant as a least common denominator amongst windows versions.
I assume you will find the proper way to do it.

BR
- Chris -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xbutton.patch.tar.bz2
Type: application/x-tbz
Size: 27640 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20040815/0d5fe1c5/attachment.bin>


More information about the Cygwin-xfree mailing list