On Mon, Feb 27, 2012 at 08:41:28AM +0000, Przemo Firszt wrote:
> Dnia 2012-02-27, pon o godzinie 12:44 +1000, Peter Hutterer pisze:
> > gsettings get org.gnome.settings-daemon.peripherals.wacom
> > tablet-pc-button
> > 
> [przemo@pldmachine ~]$ gsettings get
> org.gnome.settings-daemon.peripherals.wacom tablet-pc-button
> 
> false
> 
> I added some more debug coments and the results are here:
> http://pastebin.com/10LiNAa7
> 
> The initial value is OK (search for "TPCButton set to 0 for stylus"),
> but after setting all 4 devices the TPCButton value is changed 4 (!!!)
> more times for stylus (see the end of the log)

Is this a relatively recent version of gnome-settings-daemon though? this
was inverted and fixed Aug 2011 by 7775122dabed85f31f2ed33c135b922acd8d57db.
g-s-d 3.1.5 should have that fixed.
if you have that version or later, a good test here is to fire up a plain
session with just xterm and see if it changes too. If not, then some client
sets it and you have to track down who.

fwiw, the checkonly parameter can be ignored. the property API works that
all property handler are called once with checkonly = TRUE to test if the
value is appropriate. If none of the handlers returns an error, then the
handler is called again with checkonly = FALSE to actually change the value.
So for any valid property change, you can expect the handler to be called
twice.

Cheers,
  Peter

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to