forked from lxqt/lxqt-panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mainmenu: Fix close menu by "weird" shortcut
Globalkeys uses not compatible string representation of shortcut (it's probably done by XKeysymToString) with QKeySequence. So we are not able to know if the shortcut sequence was pressed in event handling. We use a workaround and closing the menu after any "modifier" key pushed (this way also other QMenu objects behave)
- Loading branch information
Showing
2 changed files
with
4 additions
and
22 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
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