iseContext.caps_mode = caps_mode_check (ctx, EINA_TRUE, EINA_FALSE);
LOGD (" - caps mode : %d\n", iseContext.caps_mode);
+ /* set X Client window ID */
iseContext.client_window = _client_window_id_get (ctx);
LOGD (" - client_window : %#x\n", iseContext.client_window);
+ /* set the size of imdata */
ecore_imf_context_input_panel_imdata_get (ctx, (void *)imdata, &iseContext.imdata_size);
LOGD (" - password mode : %d\n", iseContext.password_mode);
LOGD (" - prediction_allow : %d\n", iseContext.prediction_allow);
+ /* set the cursor position of the editable widget */
+ ecore_imf_context_surrounding_get (ctx, NULL, &iseContext.cursor_pos);
+ LOGD (" - cursor position : %d\n", iseContext.cursor_pos);
+
/* calculate packet size */
length = sizeof (iseContext);
length += iseContext.imdata_size;