From e753c26e49e47e24ab2417b775815bf035bd5baf Mon Sep 17 00:00:00 2001 From: Sebastien Braun Date: Tue, 5 Oct 2010 23:00:14 +0200 Subject: Fix recognition of letters in keyboard handler --- src/input/x11FakeKeyboardHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3-55-g7522