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

Alexander Gottwald Alexander.Gottwald@s1999.tu-chemnitz.de
Thu Aug 26 19:45:00 GMT 2004


Chris B wrote:

> 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.

It looks good. I'll add it in the next release.

> 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've added the defines to win.h. If win32api will include it in a future
release then I'll remove them again.

bye
        ago
NP: Accessory - I say go (Hocico Mix)
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list