wsc_ctx->surrounding_cursor = cursor_pos;
LOGD ("wsc_ctx->surrounding_cursor = %d", wsc_ctx->surrounding_cursor);
g_info_manager->socket_update_cursor_position (cursor_pos);
-
- if (_TV)
- remote_surrounding_get (wsc_ctx);
}
static void
free (wsc_ctx->preedit_str);
wsc_ctx->preedit_str = strdup ("");
+
+ if (_TV)
+ remote_surrounding_get (wsc_ctx);
}
static void
wsc_ctx->serial,
wsc_ctx->preedit_str,
utf8_wcstombs (wsc_ctx->impl->commit_string).c_str ());
+
+ if (_TV)
+ remote_surrounding_get (wsc_ctx);
}
bool wsc_context_surrounding_get (WSCContextISF *wsc_ctx, char **text, int *cursor_pos)