Skip to content

Commit

Permalink
(#3379 #3307) Fix accidentally consuming input events on alt key up
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkae committed May 7, 2024
1 parent 426d917 commit 417a3b8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/miral/minimal_window_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,8 @@ bool miral::MinimalWindowManager::handle_keyboard_event(MirKeyboardEvent const*
switch (mir_keyboard_event_scan_code(event))
{
case KEY_LEFTALT:
if (self->application_selector.complete() != nullptr)
return true;
break;
default:;
self->application_selector.complete();
default:;
}
}

Expand Down

0 comments on commit 417a3b8

Please sign in to comment.