[gnome-settings-daemon/f16] This time with the patch.

Peter Hutterer whot at fedoraproject.org
Fri Aug 12 02:25:03 UTC 2011


commit 978b934883d24b8ba98e4c18dc1f1aeffc631cbd
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Aug 12 12:23:26 2011 +1000

    This time with the patch.

 0001-wacom-invert-TPCButton-setting.patch |   31 +++++++++++++++++++++++++++++
 gnome-settings-daemon.spec                |    5 +++-
 2 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/0001-wacom-invert-TPCButton-setting.patch b/0001-wacom-invert-TPCButton-setting.patch
new file mode 100644
index 0000000..d261a7d
--- /dev/null
+++ b/0001-wacom-invert-TPCButton-setting.patch
@@ -0,0 +1,31 @@
+From b5639765da8b9b1109535f52ba4c522b99599b69 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer at who-t.net>
+Date: Fri, 12 Aug 2011 10:44:11 +1000
+Subject: [PATCH] wacom: invert TPCButton setting.
+
+Wacom's TPCButton option which this setting emulates is to enable Tablet PC
+stylus behaviour when on. The property "Hover Click" works the other way
+round, i.e. if Hover Click is _enabled_ this is the equivalent of TPC
+behaviour _disabled_.
+
+Bug exposed by commit xf86-input-wacom-0.10.99.1-10-ge0354b9.
+---
+ plugins/wacom/gsd-wacom-manager.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
+index 5dd0b87..f6aae84 100644
+--- a/plugins/wacom/gsd-wacom-manager.c
++++ b/plugins/wacom/gsd-wacom-manager.c
+@@ -406,7 +406,7 @@ set_touch (gboolean touch)
+ static void
+ set_tpcbutton (gboolean tpcbutton)
+ {
+-        gchar data = tpcbutton;
++        gchar data = tpcbutton ? 0 : 1; /* Hover Click is the inverse of TPCButton */
+         PropertyHelper property = {
+                 .name = "Wacom Hover Click",
+                 .nitems = 1,
+-- 
+1.7.6
+
diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec
index 61de633..1610ea6 100644
--- a/gnome-settings-daemon.spec
+++ b/gnome-settings-daemon.spec
@@ -1,6 +1,6 @@
 Name:           gnome-settings-daemon
 Version:        3.1.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The daemon sharing settings from GNOME to GTK+/KDE applications
 
 Group:          System Environment/Daemons
@@ -235,6 +235,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_datadir}/gnome-settings-daemon-3.0/input-device-example.sh
 
 %changelog
+* Fri Aug 12 2011 Peter Hutterer <peter.hutterer at redhat.com> 3.1.4-4
+- This time with the patch.
+
 * Fri Aug 12 2011 Peter Hutterer <peter.hutterer at redhat.com> 3.1.4-3
 - Invert TPCButton behaviour in wacom (#708894)
 


More information about the scm-commits mailing list