input/input-manager: remove event listeners on fini

This fixes a crash in wlroots listener checks. See #8509.
This commit is contained in:
Ferdinand Bachmann 2025-02-18 01:52:25 +01:00 committed by Simon Ser
parent 0a9b0b83eb
commit e51ecf71aa
3 changed files with 11 additions and 0 deletions

View file

@ -39,6 +39,8 @@ struct sway_input_manager {
struct sway_input_manager *input_manager_create(struct sway_server *server);
void input_manager_finish(struct sway_input_manager *input);
bool input_manager_has_focus(struct sway_node *node);
void input_manager_set_focus(struct sway_node *node);