diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-28 00:46:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-28 00:46:28 +0300 |
commit | 9512b66c09f182b416bdc0107dd871856f8f70d3 (patch) | |
tree | 10a45fb89f4bb0296296918af3d56fa0db0c91e3 /src | |
parent | 0c6cc36b806f1ef2cb75b650ed93210d446e3af6 (diff) | |
download | plus-9512b66c09f182b416bdc0107dd871856f8f70d3.tar.gz plus-9512b66c09f182b416bdc0107dd871856f8f70d3.tar.bz2 plus-9512b66c09f182b416bdc0107dd871856f8f70d3.tar.xz plus-9512b66c09f182b416bdc0107dd871856f8f70d3.zip |
In SDL2 build, prevent screenshot action if input field active.
Diffstat (limited to 'src')
-rw-r--r-- | src/input/keyboarddata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h index 0eddaa6b3..779fcd2ac 100644 --- a/src/input/keyboarddata.h +++ b/src/input/keyboarddata.h @@ -196,7 +196,7 @@ static const KeyData keyData[InputAction::TOTAL] = { Input::GRP_DEFAULT, &ActionManager::screenshot, InputAction::NO_VALUE, 50, - InputCondition::NOTARGET}, + InputCondition::NOTARGET | InputCondition::NOINPUT}, {"keyTrade", InputType::KEYBOARD, SDLK_r, InputType::UNKNOWN, InputAction::NO_VALUE, |