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

Function handle_im_context_preedit_string

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

Source from the content-addressed store, hash-verified

247}
248
249void handle_im_context_preedit_string(wl_client *client, wl_resource *resource,
250 uint32_t serial, const char *text, const char *commit)
251{
252 auto context = static_cast<wayfire_input_method_v1_context*>(wl_resource_get_user_data(resource));
253 if (context && context->text_input)
254 {
255 context->text_input->send_preedit_string(serial, text, commit);
256 }
257}
258
259void handle_im_context_preedit_styling(wl_client *client, wl_resource *resource,
260 uint32_t index, uint32_t length, uint32_t style)

Callers

nothing calls this directly

Calls 1

send_preedit_stringMethod · 0.45

Tested by

no test coverage detected