@Sebastien,
I check with the latest gnome-settings-daemon 3.17.1 from github, the
ensure_touchpad_active functions is completely rewritten,
static void
ensure_touchpad_active (GsdMouseManager *manager)
{
GList *devices, *l;
gboolean state;
state = get_touchpad_enabled (manager);
if (state) {
devices = get_disabled_touchpads
(manager->priv->device_manager);
for (l = devices; l != NULL; l = l->next) {
int device_id;
device_id = GPOINTER_TO_INT (l->data);
set_touchpad_enabled (device_id);
}
g_list_free (devices);
} else {
devices = gdk_device_manager_list_devices
(manager->priv->device_manager,
GDK_DEVICE_TYPE_SLAVE);
for (l = devices; l != NULL; l = l->next) {
GdkDevice *device = l->data;
if (device_is_ignored (manager, device))
continue;
if (xdevice_is_libinput (gdk_x11_device_get_id
(device)))
continue;
if (gdk_device_get_source (device) !=
GDK_SOURCE_TOUCHPAD)
continue;
set_touchpad_disabled (device);
}
g_list_free (devices);
}
set_disable_w_typing (manager, state);
}
I have not check if the behaviour is changed, the latest g-s-d source
requires many updates to make it works.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454950
Title:
It needs to press touchpad hotkey twice to re-enable touchpad
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1454950/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs