summaryrefslogtreecommitdiff
path: root/inputmethods/multikey
authorhash <hash>2002-11-08 05:48:13 (UTC)
committer hash <hash>2002-11-08 05:48:13 (UTC)
commit585e766bcb974079957dabcbaf487c21211caa8b (patch) (side-by-side diff)
tree672f8670a0ec70b3e7ff3a079800bc12d9f82f8e /inputmethods/multikey
parent6cb72a24dead3f2f1a122cbe6e9dcc43be86443a (diff)
downloadopie-585e766bcb974079957dabcbaf487c21211caa8b.zip
opie-585e766bcb974079957dabcbaf487c21211caa8b.tar.gz
opie-585e766bcb974079957dabcbaf487c21211caa8b.tar.bz2
alt shouldnt stick either
Diffstat (limited to 'inputmethods/multikey') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp20
1 files changed, 13 insertions, 7 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 08318bd..84c0c74 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -366,3 +366,3 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
- //if (unicode == 0x60) { // the keys from 2c6 ~ 2cf should be used instead of the ascii one
+ // the keys from 2c6 ~ 2cf should be used instead of the ascii one
if (unicode == 0x2cb) {
@@ -384,3 +384,2 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
- //if (unicode == 0xb4) {
if (unicode == 0x2ca) {
@@ -527,4 +526,4 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
if (diaeresis) { *diaeresis = 0; diaeresis = 0; }
- if (baccent) { *baccent = 0; baccent = 0; }
- if (accent) { *accent = 0; accent = 0; }
+ if (baccent) { *baccent = 0; baccent = 0; }
+ if (accent) { *accent = 0; accent = 0; }
@@ -627,3 +626,3 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
if (meta) { *meta = 0; meta = 0; }
- if (accent) { *accent = 0; accent = 0; }
+ if (accent) { *accent = 0; accent = 0; }
@@ -649,3 +648,3 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
if (meta) { *meta = 0; meta = 0; }
- if (baccent) { *baccent = 0; }
+ if (baccent) { *baccent = 0; }
@@ -665,3 +664,3 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
unicode = keys->diaeresis(keys->shift(unicode));
- else if (baccent && keys->baccent(keys->shift(unicode)))
+ else if (baccent && keys->baccent(keys->shift(unicode)))
unicode = keys->baccent(keys->shift(unicode));
@@ -777,2 +776,9 @@ void Keyboard::mouseReleaseEvent(QMouseEvent*)
}
+ if (alt && alt != 0) {
+
+ *alt = 0;
+ alt = 0;
+ repaint(FALSE);
+
+ }