Patch to xmodmap to allow disabling mouse buttons
Matthias Hopf
mhopf at suse.de
Tue Jan 20 09:28:40 PST 2009
On Jan 20, 09 17:01:26 +0000, Ben North wrote:
> % xmodmap -e 'pointer = 1 0 0 4 5'
> xmodmap: commandline:0: bad value 0 given for buttons list
> xmodmap: 1 error encountered, aborting.
>
> On looking at the source, it seems that this is a misbehaviour of
> 'parse_number' in handle.c, which rejects the string "0 ", i.e., a zero
Good catch. Committed and pushed.
The patch as you sent it didn't apply, though. Next time please use
git format-patch.
Matthias
--
Matthias Hopf <mhopf at suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat at mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
More information about the xorg
mailing list