mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 08:05:57 +01:00
only allow longPress if release is not set
This commit is contained in:
parent
30ae830a4b
commit
505f2509c0
1 changed files with 2 additions and 2 deletions
|
@ -2191,8 +2191,8 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command
|
|||
ignoreMods = true;
|
||||
} else if (arg == 's') {
|
||||
multiKey = true;
|
||||
} else if (arg == 'o') {
|
||||
longPress = true;
|
||||
} else if (arg == 'o' && !release) {
|
||||
longPress = true;
|
||||
} else if (arg == 'd') {
|
||||
hasDescription = true;
|
||||
} else if (arg == 'p') {
|
||||
|
|
Loading…
Reference in a new issue