GNOME Bugzilla – Bug 673595
gnome-settings-daemon: fix applying settings to newly added touchpads
Last modified: 2012-04-05 17:33:22 UTC
This fixes touchpads not being disabled when resuming from suspend. (It's possible that the right thing to do might be to just remove the check - after all, no check is done on device type in initial setup in gsd_mouse_manager_idle_cb())
Created attachment 211417 [details] [review] gnome-settings-daemon: fix applying settings to newly added touchpads In GTK+-3.4, touchpads no longer are classified as GDK_SOURCE_MOUSE, they are GDK_SOURCE_TOUCHPAD, so we need to add a check for that in the handling for newly added devices, or touchpads won't get configured properly when returning from suspend. Required GTK+ version is bumped to 3.3.18 for the GDK_SOURCE_TOUCHPAD enum value.
Review of attachment 211417 [details] [review]: Looks good for gnome-3-4 and master. ::: plugins/mouse/gsd-mouse-manager.c @@ +1015,3 @@ GsdMouseManager *manager) { + GdkInputSource source = gdk_device_get_source (device); Separate into 3 lines: GdkInputSource source; source = ...; @@ +1036,3 @@ GsdMouseManager *manager) { + GdkInputSource source = gdk_device_get_source (device); Ditto.
Pushed to origin and gnome-3-4 with the requested change. Attachment 211417 [details] pushed as 3a16a83 - gnome-settings-daemon: fix applying settings to newly added touchpads