mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 13:05:58 +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;
|
ignoreMods = true;
|
||||||
} else if (arg == 's') {
|
} else if (arg == 's') {
|
||||||
multiKey = true;
|
multiKey = true;
|
||||||
} else if (arg == 'o') {
|
} else if (arg == 'o' && !release) {
|
||||||
longPress = true;
|
longPress = true;
|
||||||
} else if (arg == 'd') {
|
} else if (arg == 'd') {
|
||||||
hasDescription = true;
|
hasDescription = true;
|
||||||
} else if (arg == 'p') {
|
} else if (arg == 'p') {
|
||||||
|
|
Loading…
Reference in a new issue