summaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorSebastien Braun2010-10-05 23:00:14 +0200
committerSebastien Braun2010-10-05 23:00:14 +0200
commite753c26e49e47e24ab2417b775815bf035bd5baf (patch)
treefbcdcfb8b05c25e0253f71f966a2431435f0d885 /src/input
parentImplement --no-fork/-F command line argument for pvs (diff)
downloadpvs-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.cpp2
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,