-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recover from unintended Alt grabs meant for a window
Determine which keycodes are supported as window keybindings by the active display, and Replay the events when recovering from an unintended keyboard grab. This lets the focused window grab the corresponding event to operate on itself. Otherwise, send to asynchronously to the top-level window, which allows the settings-daemon or window manager to deal with it appropriately. More concretely, it fixes the issue in https://ubuntu-mate.community/t/how-to-fix-broken-alt-key/14602/51 so that the user does not need to press a modified key twice for the window to capture the event.
- Loading branch information
Showing
1 changed file
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters