[gnome-settings-daemon] mouse: Fix double-free when handling one-button touchpad



commit 98e2dcdd925fdf629e7984101bde0cc38fcbe9d9
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Mar 21 14:30:57 2011 +0000

    mouse: Fix double-free when handling one-button touchpad

 plugins/mouse/gsd-mouse-manager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index 5b440e4..c4b8014 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -361,7 +361,6 @@ set_left_handed (GsdMouseManager *manager,
 
                 if (tap && !single_button)
                         set_tap_to_click (device, tap, left_handed);
-                XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xdevice);
 
                 if (single_button)
                         goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]