diff options
author | Sebastien Braun | 2010-10-05 23:00:14 +0200 |
---|---|---|
committer | Sebastien Braun | 2010-10-05 23:00:14 +0200 |
commit | e753c26e49e47e24ab2417b775815bf035bd5baf (patch) | |
tree | fbcdcfb8b05c25e0253f71f966a2431435f0d885 /src/input | |
parent | Implement --no-fork/-F command line argument for pvs (diff) | |
download | pvs-e753c26e49e47e24ab2417b775815bf035bd5baf.tar.gz pvs-e753c26e49e47e24ab2417b775815bf035bd5baf.tar.xz pvs-e753c26e49e47e24ab2417b775815bf035bd5baf.zip |
Fix recognition of letters in keyboard handler
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/x11FakeKeyboardHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/x11FakeKeyboardHandler.cpp b/src/input/x11FakeKeyboardHandler.cpp index e7a5826..b1492e7 100644 --- a/src/input/x11FakeKeyboardHandler.cpp +++ b/src/input/x11FakeKeyboardHandler.cpp @@ -848,7 +848,7 @@ void X11FakeKeyboardHandler::handle(InputEvent const& evt, InputEventContext con xmodifier_type mods = translate_modifiers(evt.qt_modifiers()); // we may need to press additional modifiers to generate this keysym: - if(isalpha(ks)) + if(QChar(ks, 0).isLetter()) { // but, since we do not differentiate upper and lower case, // and instead let the sender handle those modifiers, |