- Plug memory leak in left-handed-touchpad.patch

This commit is contained in:
Peter Hutterer 2010-01-13 00:38:07 +00:00
parent db77fbf773
commit ace48e720e
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon
Version: 2.28.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
@ -191,6 +191,9 @@ fi
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog
* Wed Jan 13 2010 Peter Hutterer <peter.hutterer@redhat.com> 2.28.1-11
- Plug memory leak in left-handed-touchpad.patch
* Fri Dec 18 2009 Matthias Clasen <mclasen@redhat.com> 2.28.1-10
- Avoid warning messages from the OSD code

View File

@ -36,7 +36,7 @@ index 4c463eb..21acca6 100644
static XDevice* device_is_touchpad (XDeviceInfo deviceinfo);
G_DEFINE_TYPE (GsdMouseManager, gsd_mouse_manager, G_TYPE_OBJECT)
@@ -289,8 +290,12 @@ set_xinput_devices_left_handed (gboolean left_handed)
@@ -289,8 +290,13 @@ set_xinput_devices_left_handed (gboolean left_handed)
* around, otherwise a tap would be a right-click */
device = device_is_touchpad (device_info[i]);
if (device != NULL) {
@ -46,6 +46,7 @@ index 4c463eb..21acca6 100644
+ if (tap)
+ set_tap_to_click (tap, left_handed);
XCloseDevice (GDK_DISPLAY (), device);
+ g_object_unref (client);
- continue;
}