summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-07-30 19:12:02 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-07-30 19:12:02 +0800
commit211e3f2a79e99b105ea06280c14b8a5ca9380782 (patch)
tree9a2d4b732cd22d2ccfde147e2d17520917b6cded /daemon
parent23a468d8b07c995b3b29ed98d1999da7a8ac6554 (diff)
downloadibus-211e3f2a79e99b105ea06280c14b8a5ca9380782.tar.gz
ibus-211e3f2a79e99b105ea06280c14b8a5ca9380782.tar.xz
ibus-211e3f2a79e99b105ea06280c14b8a5ca9380782.zip
focus in the engine, after enable the engine.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/inputcontext.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/inputcontext.py b/daemon/inputcontext.py
index c681fc8..4926faf 100644
--- a/daemon/inputcontext.py
+++ b/daemon/inputcontext.py
@@ -197,6 +197,7 @@ class InputContext(ibus.Object):
self.__ibusconn.emit_dbus_signal("Enabled", self.__id)
if self.__engine:
self.__engine.enable()
+ self.__engine.focus_in()
else:
self.__ibusconn.emit_dbus_signal("Disabled", self.__id)
if self.__engine: