Bug 5691 - twm mouse button limit too low
Summary: twm mouse button limit too low
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/twm (show other bugs)
Version: 7.0.0
Hardware: Other OpenBSD
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-01-23 15:11 UTC by Wolfgang Rupprecht
Modified: 2007-11-29 09:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Wolfgang Rupprecht 2006-01-23 15:11:58 UTC
The twm mouse button limit is too low for today's mice.


--- twm.h.~1.6.~	Thu Nov  4 03:19:04 2004
+++ twm.h	Tue Nov 23 20:48:33 2004
@@ -99,7 +99,7 @@
 
 #define NULLSTR ((char *) NULL)
 
-#define MAX_BUTTONS	5	/* max mouse buttons supported */
+#define MAX_BUTTONS	16	/* max mouse buttons supported */
 
 /* info stings defines */
 #define INFO_LINES 30
Comment 1 Daniel Stone 2007-02-27 01:30:08 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Alan Coopersmith 2007-11-29 09:44:27 UTC
Fix committed to git master - thanks for pointing this out:

 src/twm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 44d51a2bc7d1e2fc5fcd3f729b6f0ca6e62e1f00
Author: Wolfgang Rupprecht <wsr+xorg@wsrcc.com>
Date:   Mon Jan 23 15:11:00 2006 -0800

    X.Org Bug #5691: twm mouse button limit too low
    
    <https://bugs.freedesktop.org/show_bug.cgi?id=5691>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.