mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 12:05:59 +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,7 +2191,7 @@ 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;
|
||||||
|
|
Loading…
Reference in a new issue