diff --git a/src/libinput-plugin-button-debounce.c b/src/libinput-plugin-button-debounce.c index 8d478e57..76864e5f 100644 --- a/src/libinput-plugin-button-debounce.c +++ b/src/libinput-plugin-button-debounce.c @@ -205,6 +205,9 @@ debounce_maybe_disable(struct plugin_device *device) "%s: disabled button debouncing on request\n", libinput_device_get_name(device->device)); device->state = DEBOUNCE_STATE_DISABLED; + libinput_plugin_enable_device_event_frame(device->parent->plugin, + device->device, + false); } } diff --git a/src/libinput-plugin-mouse-wheel.c b/src/libinput-plugin-mouse-wheel.c index cade46a4..4b65a5f2 100644 --- a/src/libinput-plugin-mouse-wheel.c +++ b/src/libinput-plugin-mouse-wheel.c @@ -149,12 +149,13 @@ wheel_maybe_disable(struct plugin_device *device) if (device->state != WHEEL_STATE_NONE) return; - if (device->want_feature_disabled && - device->ignore_small_hi_res_movements != PASSTHROUGH) { + if (device->want_feature_disabled) { plugin_log_debug(device->parent->plugin, "%s: disabled wheel debouncing on request\n", libinput_device_get_name(device->device)); - device->ignore_small_hi_res_movements = PASSTHROUGH; + libinput_plugin_enable_device_event_frame(device->parent->plugin, + device->device, + false); libinput_plugin_timer_cancel(device->scroll_timer); device->scroll_timer = libinput_plugin_timer_unref(device->scroll_timer); diff --git a/src/libinput-plugin-tablet-double-tool.c b/src/libinput-plugin-tablet-double-tool.c index ea8ef902..c78eed04 100644 --- a/src/libinput-plugin-tablet-double-tool.c +++ b/src/libinput-plugin-tablet-double-tool.c @@ -217,6 +217,9 @@ double_tool_plugin_device_handle_frame(struct libinput_plugin *libinput_plugin, libinput_plugin, "device %s: device is fine, unregistering device\n", libinput_device_get_name(device->device)); + libinput_plugin_enable_device_event_frame(libinput_plugin, + device->device, + false); plugin_device_destroy(device); return; } diff --git a/src/libinput-plugin-tablet-proximity-timer.c b/src/libinput-plugin-tablet-proximity-timer.c index 9aa961eb..21121d8f 100644 --- a/src/libinput-plugin-tablet-proximity-timer.c +++ b/src/libinput-plugin-tablet-proximity-timer.c @@ -186,6 +186,9 @@ proximity_timer_plugin_device_handle_frame(struct libinput_plugin *libinput_plug case EVDEV_BTN_TOOL_FINGER: case EVDEV_BTN_TOOL_MOUSE: case EVDEV_BTN_TOOL_LENS: + libinput_plugin_enable_device_event_frame(libinput_plugin, + device->device, + false); plugin_device_destroy(device); return; default: