Set cursor location for engine after create a new engine.
authorPeng Huang <phuang@phuang.nay.redhat.com>
Thu, 12 Feb 2009 01:50:44 +0000 (09:50 +0800)
committerPeng Huang <phuang@phuang.nay.redhat.com>
Thu, 12 Feb 2009 01:50:44 +0000 (09:50 +0800)
bus/inputcontext.c

index be45bbe..fd7e157 100644 (file)
@@ -863,6 +863,7 @@ _ic_set_engine (BusInputContext  *context,
     }
 
     bus_input_context_enable (context);
+    bus_engine_proxy_set_cursor_location (priv->engine, priv->x, priv->y, priv->w, priv->h);
 
     reply = ibus_message_new_method_return (message);
     return reply;