rpms/gnome-settings-daemon/F-10 gnome-settings-daemon-2.24.0-fix-touchpad.patch, NONE, 1.1 gnome-settings-daemon.spec, 1.76, 1.77

Ray Strode rstrode at fedoraproject.org
Wed Dec 10 16:35:50 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/gnome-settings-daemon/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27092

Modified Files:
	gnome-settings-daemon.spec 
Added Files:
	gnome-settings-daemon-2.24.0-fix-touchpad.patch 
Log Message:
- actually apply the patch previoulsy mentioned for bug 474758
- Don't map touch pad tap to right-click for left-handed
  users (bug 324721)


gnome-settings-daemon-2.24.0-fix-touchpad.patch:

--- NEW FILE gnome-settings-daemon-2.24.0-fix-touchpad.patch ---
===========================================================
 Ignore touchpads when swapping buttons

  We always want clicks on the touchpad
to be left click (bug 324721)

diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -233,6 +233,11 @@ xinput_device_has_buttons (XDeviceInfo *device_info)
         int i;
         XAnyClassInfo *class_info;
 
+        if (device_info->type == gdk_x11_get_xatom_by_name (XI_TABLET) ||
+            device_info->type == gdk_x11_get_xatom_by_name (XI_TOUCHSCREEN) ||
+            device_info->type == gdk_x11_get_xatom_by_name (XI_TOUCHPAD))
+                return FALSE;
+
         class_info = device_info->inputclassinfo;
         for (i = 0; i < device_info->num_classes; i++) {
                 if (class_info->class == ButtonClass) {


Index: gnome-settings-daemon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-settings-daemon/F-10/gnome-settings-daemon.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- gnome-settings-daemon.spec	10 Dec 2008 16:00:15 -0000	1.76
+++ gnome-settings-daemon.spec	10 Dec 2008 16:35:20 -0000	1.77
@@ -1,6 +1,6 @@
 Name:		gnome-settings-daemon
 Version:	2.24.1
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	The daemon sharing settings from GNOME to GTK+/KDE applications
 
 Group:		System Environment/Daemons
@@ -42,7 +42,15 @@
 
 # http://bugzilla.gnome.org/show_bug.cgi?id=563543
 Patch12:	gnome-settings-daemon-2.24.1-umask.patch
-Patch13:        gnome-settings-daemon-2.24.0-shutdown-cleanly.patch
+
+# http://bugzilla.redhat.com/445898
+Patch13:	gnome-settings-daemon-2.24.0-shutdown-cleanly.patch
+
+# http://bugzilla.redhat.com/324721
+Patch14:	gnome-settings-daemon-2.24.0-fix-touchpad.patch
+
+# http://bugzilla.redhat.com/474758
+Patch15:	gnome-settings-daemon-2.24.0-catch-deviceadded.patch
 
 %description
 A daemon to share settings from GNOME to other applications. It also
@@ -68,6 +76,8 @@
 %patch11 -p1 -b .behdad
 %patch12 -p1 -b .umask
 %patch13 -p1 -b .shutdown-cleanly
+%patch14 -p1 -b .fix-touchpad
+%patch15 -p1 -b .catch-device-added
 
 %build
 libtoolize --force --copy
@@ -171,6 +181,11 @@
 %{_libdir}/pkgconfig/gnome-settings-daemon.pc
 
 %changelog
+* Wed Dec 10 2008 Ray Strode <rstrode at redhat.com> - 2.24.1-6
+- actually apply the patch previoulsy mentioned for bug 474758
+- Don't map touch pad tap to right-click for left-handed
+  users (bug 324721)
+
 * Wed Dec 10 2008 Ray Strode <rstrode at redhat.com> - 2.24.1-5
 - Listen for DeviceAdded signals when configuring mouse
   (in addition to DeviceEnabled).  This may help with




More information about the fedora-extras-commits mailing list