From 7f86fcaa44fee7dd69789b3fc98d1a7ff4b30440 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 3 Jan 2017 23:26:25 +0300 Subject: mouse: fix applying "disable while typing" setting to all devices my stupid mistake - it was applied to the first device in the list only --- plugins/mouse/msd-mouse-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mouse') diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c index a7d2de2..101dd47 100644 --- a/plugins/mouse/msd-mouse-manager.c +++ b/plugins/mouse/msd-mouse-manager.c @@ -869,7 +869,7 @@ set_disable_w_typing_libinput (MsdMouseManager *manager, device_info = XListInputDevices (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), &n_devices); for (i = 0; i < n_devices; i++) { - touchpad_set_bool (device_info, "libinput Disable While Typing Enabled", 0, state); + touchpad_set_bool (&device_info[i], "libinput Disable While Typing Enabled", 0, state); } if (device_info != NULL) -- cgit v1.2.1