summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-01-03 23:26:25 +0300
committermonsta <[email protected]>2017-01-03 23:26:25 +0300
commit7f86fcaa44fee7dd69789b3fc98d1a7ff4b30440 (patch)
tree5e627efb165eb04c3b1865d1c429a359ee964cd5
parent3d5b274c60d9ba216bec77fa20992b543be51074 (diff)
downloadmate-settings-daemon-7f86fcaa44fee7dd69789b3fc98d1a7ff4b30440.tar.bz2
mate-settings-daemon-7f86fcaa44fee7dd69789b3fc98d1a7ff4b30440.tar.xz
mouse: fix applying "disable while typing" setting to all devices
my stupid mistake - it was applied to the first device in the list only
-rw-r--r--plugins/mouse/msd-mouse-manager.c2
1 files changed, 1 insertions, 1 deletions
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)