MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / handle_im_context_commit_string

Function handle_im_context_commit_string

plugins/protocols/input-method-v1.cpp:239–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void handle_im_context_commit_string(wl_client *client, wl_resource *resource,
240 uint32_t serial, const char *text)
241{
242 auto context = static_cast<wayfire_input_method_v1_context*>(wl_resource_get_user_data(resource));
243 if (context && context->text_input)
244 {
245 context->text_input->send_commit_string(serial, text);
246 }
247}
248
249void handle_im_context_preedit_string(wl_client *client, wl_resource *resource,
250 uint32_t serial, const char *text, const char *commit)

Callers

nothing calls this directly

Calls 1

send_commit_stringMethod · 0.45

Tested by

no test coverage detected