1
From d3bc903b487bb301395947f692ce0d8c130874e3 Mon Sep 17 00:00:00 2001
2
From: fujiwarat <takao.fujiwara1@gmail.com>
3
Date: Sat, 6 Oct 2012 17:54:27 +0900
4
Subject: [PATCH] Fix not to switch engines by non-trigger keys.
7
ui/gtk3/switcher.vala | 6 ++++++
8
1 file changed, 6 insertions(+)
10
diff --git a/ui/gtk3/switcher.vala b/ui/gtk3/switcher.vala
11
index 4a02743..c606682 100644
12
--- a/ui/gtk3/switcher.vala
13
+++ b/ui/gtk3/switcher.vala
14
@@ -140,6 +140,7 @@ class Switcher : Gtk.Window {
15
/* Let gtk recalculate the window size. */
19
m_selected_engine = index;
20
m_label.set_text(m_buttons[index].longname);
21
m_buttons[index].grab_focus();
22
@@ -378,6 +379,11 @@ class Switcher : Gtk.Window {
25
debug("0x%04x", pe.keyval);
26
+ if (m_loop != null) {