From 71941470e53465f0d8b040ba2d64e9bee5470fe0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 25 Aug 2025 09:58:30 +1000 Subject: [PATCH] plugin: remove the proximity timer callback after prox out events One of the code paths was addressed in b2cd9c69a05b but this path was missing. Fixes: b2cd9c69a05b ("plugin: remove the event frame callbacks when disabling a plugin") (cherry picked from commit ce1112c263b770a118423d9e1fd2f7e8ecfa0f4d) Part-of: --- src/libinput-plugin-tablet-proximity-timer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libinput-plugin-tablet-proximity-timer.c b/src/libinput-plugin-tablet-proximity-timer.c index c735aabf..da55bb03 100644 --- a/src/libinput-plugin-tablet-proximity-timer.c +++ b/src/libinput-plugin-tablet-proximity-timer.c @@ -207,6 +207,9 @@ proximity_timer_plugin_device_handle_frame(struct libinput_plugin *libinput_plug plugin_log_debug(libinput_plugin, "%s: proximity out timer unloaded\n", libinput_device_get_name(device->device)); + libinput_plugin_enable_device_event_frame(libinput_plugin, + device->device, + false); plugin_device_destroy(device); return; }