Re: [Linuxwacom-devel] [PATCH 1/2] Fix X crash after remapping touchstrips and wheels

2011-03-22 Thread Peter Hutterer
On Tue, Mar 22, 2011 at 10:47:02AM -0700, Jason Gerecke wrote: > On Mon, Mar 21, 2011 at 9:11 PM, Peter Hutterer > wrote: > > On Fri, Mar 18, 2011 at 06:01:16PM -0700, Jason Gerecke wrote: > >> Crash first appears in ab311bf20535acd6e7201e024bc311e0e15b5b6b. > >> This commit rewrote wcmUpdateButto

Re: [Linuxwacom-devel] [draft-patch] OLED setting for xsetwacom

2011-03-22 Thread Peter Hutterer
On Tue, Mar 22, 2011 at 10:47:12PM +0100, Eduard Hasenleithner wrote: > 2011/3/22 Peter Hutterer : > >> It defines a new pseudo-property "Wacom Button Image". When > >> XChangeDeviceProperty is called with a 2049 octet data, the first > >> octet is taken as the button number, and the remaining 2048

Re: [Linuxwacom-devel] [PATCH] wcmUSB: change MOD_BUTTONS macro into a function

2011-03-22 Thread Peter Hutterer
On Tue, Mar 22, 2011 at 11:17:46AM -0700, Jason Gerecke wrote: > On Mon, Mar 21, 2011 at 9:16 PM, Peter Hutterer > wrote: > > +/** > > + * Flip the mask bit in buttons corresponding to btn to the specified > > state. > > + * > > + * @param buttons The current button mask > > + * @param btn Zero-i

Re: [Linuxwacom-devel] [draft-patch] OLED setting for xsetwacom

2011-03-22 Thread Eduard Hasenleithner
Hi 2011/3/22 Peter Hutterer : >> It defines a new pseudo-property "Wacom Button Image". When >> XChangeDeviceProperty is called with a 2049 octet data, the first >> octet is taken as the button number, and the remaining 2048 octets are >> taken as the image. > > this approach isn't all too differe

Re: [Linuxwacom-devel] [PATCH] wcmUSB: change MOD_BUTTONS macro into a function

2011-03-22 Thread Jason Gerecke
On Mon, Mar 21, 2011 at 9:16 PM, Peter Hutterer wrote: > +/** > + * Flip the mask bit in buttons corresponding to btn to the specified state. > + * > + * @param buttons The current button mask > + * @param btn Zero-indexed button number to change > + * @param state Zero to unset, non-zero to set t

Re: [Linuxwacom-devel] [PATCH 1/2] Fix X crash after remapping touchstrips and wheels

2011-03-22 Thread Jason Gerecke
*grumble, grumble* There has got to be a GMail extension that makes "Reply to all" more prominent than "Reply" for lists... On Mon, Mar 21, 2011 at 9:11 PM, Peter Hutterer wrote: > On Fri, Mar 18, 2011 at 06:01:16PM -0700, Jason Gerecke wrote: >> Crash first appears in ab311bf20535acd6e7201e024bc