summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.cpp
Side-by-side diff
Diffstat (limited to 'inputmethods/multikey/keyboard.cpp') (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 1c17172..89937cf 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -313,6 +313,7 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
}
} else if (qkeycode == Qt::Key_Control) {
+ need_repaint = TRUE;
if (ctrl) {
@@ -328,6 +329,7 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
}
} else if (qkeycode == Qt::Key_Alt) {
+ need_repaint = TRUE;
if (alt) {
*alt = 0;