rpms/gnome-settings-daemon/F-10 gnome-settings-daemon-2.24.0-catch-deviceadded.patch, NONE, 1.1 gnome-settings-daemon.spec, 1.75, 1.76

Ray Strode rstrode at fedoraproject.org
Wed Dec 10 16:00:45 UTC 2008


Author: rstrode

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

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/F-10/gnome-settings-daemon.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- gnome-settings-daemon.spec	9 Dec 2008 21:02:37 -0000	1.75
+++ gnome-settings-daemon.spec	10 Dec 2008 16:00:15 -0000	1.76
@@ -1,6 +1,6 @@
 Name:		gnome-settings-daemon
 Version:	2.24.1
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	The daemon sharing settings from GNOME to GTK+/KDE applications
 
 Group:		System Environment/Daemons
@@ -171,6 +171,11 @@
 %{_libdir}/pkgconfig/gnome-settings-daemon.pc
 
 %changelog
+* 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
+  bug 474758.
+
 * Tue Dec  9 2008 Ray Strode <rstrode at redhat.com> - 2.24.1-4
 - Shutdown cleanly on TERM signal (bug 445898)
 




More information about the fedora-extras-commits mailing list