summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)