mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-01 23:20:09 +01:00
plugin: remove the proximity timer callback after prox out events
One of the code paths was addressed inb2cd9c69a0but this path was missing. Fixes:b2cd9c69a0("plugin: remove the event frame callbacks when disabling a plugin") (cherry picked from commitce1112c263) Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1326>
This commit is contained in:
parent
6524edd9de
commit
71941470e5
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue