summaryrefslogtreecommitdiffstats
path: root/src/PYFallbackEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <pwu@redhat.com>2019-11-20 19:12:47 +0800
committerPeng Wu <pwu@redhat.com>2019-11-20 19:12:47 +0800
commit1eb70ce12bed9d6b53c02ac8693ec52abe1d0216 (patch)
treeacf8d54b4434b12fc393a82f3bbc5ab0af7c257a /src/PYFallbackEditor.cc
parent6ee1cb7b37225f953ba611e6e16b82d36c02acf5 (diff)
fixes period handling
Diffstat (limited to 'src/PYFallbackEditor.cc')
-rw-r--r--src/PYFallbackEditor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PYFallbackEditor.cc b/src/PYFallbackEditor.cc
index e3dcfba..12985f4 100644
--- a/src/PYFallbackEditor.cc
+++ b/src/PYFallbackEditor.cc
@@ -219,6 +219,7 @@ FallbackEditor::processKeyEvent (guint keyval, guint keycode, guint modifiers)
case IBUS_A ... IBUS_Z:
if (modifiers == 0) {
if (!m_props.modeFull ())
+ m_prev_committed_char = keyval;
return FALSE;
commit (HalfFullConverter::toFull (keyval));