rpms/gnome-settings-daemon/devel gnome-settings-daemon-2.24.0-catch-deviceadded.patch, NONE, 1.1 gnome-settings-daemon.spec, 1.80, 1.81

Ray Strode rstrode at fedoraproject.org
Wed Dec 10 15:59:02 UTC 2008


Author: rstrode

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

Modified Files:
	gnome-settings-daemon.spec 
Added Files:
	gnome-settings-daemon-2.24.0-catch-deviceadded.patch 
Log Message:
- Listen for DeviceAdded signals when configuring mouse
  (in addition to DeviceEnabled).  This may help with
  bug 474758.


gnome-settings-daemon-2.24.0-catch-deviceadded.patch:

--- NEW FILE gnome-settings-daemon-2.24.0-catch-deviceadded.patch ---
============================================================
 Listen for DeviceAdded in addition to DeviceEnabled

  This should help address problems like left-handed
mouse, and acceleration settings getting lost after
resume, or when new devices gets plugged in.

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
@@ -320,7 +320,7 @@ devicepresence_filter (GdkXEvent *xevent,
         if (xev->type == xi_presence)
         {
             XDevicePresenceNotifyEvent *dpn = (XDevicePresenceNotifyEvent *) xev;
-            if (dpn->devchange == DeviceEnabled)
+            if (dpn->devchange == DeviceEnabled || dpn->devchange == DeviceAdded)
                 set_mouse_settings ((GsdMouseManager *) data);
         }
         return GDK_FILTER_CONTINUE;


Index: gnome-settings-daemon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-settings-daemon/devel/gnome-settings-daemon.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- gnome-settings-daemon.spec	9 Dec 2008 20:58:18 -0000	1.80
+++ gnome-settings-daemon.spec	10 Dec 2008 15:58:31 -0000	1.81
@@ -1,6 +1,6 @@
 Name:		gnome-settings-daemon
 Version:	2.25.2
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	The daemon sharing settings from GNOME to GTK+/KDE applications
 
 Group:		System Environment/Daemons
@@ -42,6 +42,9 @@
 # http://bugzilla.redhat.com/445898
 Patch9:		gnome-settings-daemon-2.24.0-shutdown-cleanly.patch
 
+# http://bugzilla.redhat.com/474758
+Patch10:	gnome-settings-daemon-2.24.0-catch-deviceadded.patch
+
 # http://bugzilla.gnome.org/show_bug.cgi?id=563543
 Patch12:	gnome-settings-daemon-2.24.1-umask.patch
 
@@ -67,6 +70,7 @@
 %patch7 -p1 -b .fnf7-cycle
 %patch8 -p1 -b .fade
 %patch9 -p1 -b .shutdown-cleanly
+%patch10 -p1 -b .catch-deviceadded
 %patch12 -p1 -b .umask
 
 %build
@@ -171,6 +175,11 @@
 %{_libdir}/pkgconfig/gnome-settings-daemon.pc
 
 %changelog
+* Wed Dec 10 2008 Ray Strode <rstrode at redhat.com> - 2.25.2-6
+- Listen for DeviceAdded signals when configuring mouse
+  (in addition to DeviceEnabled).  This may help with
+  bug 474758.
+
 * Tue Dec  9 2008 Ray Strode <rstrode at redhat.com> - 2.25.2-5
 - Shutdown cleanly on TERM signal (bug 445898)
 




More information about the fedora-extras-commits mailing list