diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | handle.c | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2006-03-22 Matthias Hopf <mhopf@suse.de> + + * handle.c: (do_pointer): + Allow changing of only a few buttons (not all). + 2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: @@ -906,10 +906,9 @@ do_pointer(char *line, int len) } if (i > 0 && i != nbuttons) { - badheader (); - fprintf (stderr, "number of buttons, must have %d instead of %d\n", - nbuttons, i); - return; + fprintf (stderr, "Warning: Only changing the first %d of %d buttons.\n", + i, nbuttons); + i = nbuttons; } uop = AllocStruct (union op); |