This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 -

Attachment: xbutton.patch.tar.bz2
Description: application/tbz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]