Skip to content

Commit

Permalink
Exit from InputEventTransformer::handle if the last transformer was
Browse files Browse the repository at this point in the history
removed.
  • Loading branch information
tarek-y-ismail committed Feb 20, 2025
1 parent 8335b1a commit db6e9e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/input/input_event_transformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ bool mi::InputEventTransformer::handle(MirEvent const& event)
if (!t)
{
it = input_transformers.erase(it);
if(it == input_transformers.end())
return;
continue;
}

Expand Down

0 comments on commit db6e9e3

Please sign in to comment.