plugin: remove the proximity timer callback after prox out events

One of the code paths was addressed in b2cd9c69a0 but this path was
missing.

Fixes: b2cd9c69a0 ("plugin: remove the event frame callbacks when disabling a plugin")
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1306>
This commit is contained in:
Peter Hutterer 2025-08-25 09:58:30 +10:00 committed by Marge Bot
parent 428a3299a8
commit ce1112c263

View file

@ -208,6 +208,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;
}