From 10f29df0d16646808899eb1ba70ed12ce11f54e7 Mon Sep 17 00:00:00 2001 From: Li Zhang Date: Tue, 23 Jul 2013 11:10:05 +0800 Subject: [PATCH] Avoiding suggestion bar blink when focusing in number layout Change-Id: I58d69ef63fd21ec0f9641ab4f064233600be73fc --- configure.ac | 2 +- packaging/ise-engine-tables.spec | 2 +- src/scim_table_imengine.cpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 357525b..d8c22a6 100755 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. #AC_INIT(scim-tables, 0.5.10, suzhe@tsinghua.org.cn) #do not forget to edit skim/configure.in.in to change the version -AC_INIT(ise-engine-tables-zh, 0.0.0417, li2012.zhang@samsung.com) +AC_INIT(ise-engine-tables-zh, 0.0.0423, li2012.zhang@samsung.com) AC_CONFIG_SRCDIR([src/scim_table_imengine.h]) ISF_VERSION=1.0.0 diff --git a/packaging/ise-engine-tables.spec b/packaging/ise-engine-tables.spec index 71eb757..23e8a95 100644 --- a/packaging/ise-engine-tables.spec +++ b/packaging/ise-engine-tables.spec @@ -1,5 +1,5 @@ %define nam ise-engine-tables -%define ver 0.0.0417 +%define ver 0.0.0423 %define skim 0 %define rel 1 %define isf_version 1.0.0 diff --git a/src/scim_table_imengine.cpp b/src/scim_table_imengine.cpp index 677c566..aa44b3a 100755 --- a/src/scim_table_imengine.cpp +++ b/src/scim_table_imengine.cpp @@ -789,7 +789,8 @@ TableInstance::reset () m_iconv.set_encoding (get_encoding ()); if (!m_forward) { refresh_lookup_table (true, true); - show_lookup_table (); + if (m_focused) + show_lookup_table (); } else { hide_lookup_table(); } -- 2.7.4