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")
(cherry picked from commit ce1112c263)

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1326>
This commit is contained in:
Peter Hutterer 2025-08-25 09:58:30 +10:00
parent 6524edd9de
commit 71941470e5

View file

@ -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;
}