Skip to content

Commit

Permalink
Don't leak VirtualInputDevice keyboards
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Jan 13, 2025
1 parent 11386a1 commit e200fc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/frontend_wayland/text_input_v3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ mf::TextInputV3::TextInputV3(
mf::TextInputV3::~TextInputV3()
{
seat.remove_focus_listener(client, this);
ctx->device_registry->remove_device(keyboard_device);
ctx->text_input_hub->deactivate_handler(handler);
}

Expand Down

0 comments on commit e200fc1

Please sign in to comment.