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

Function handle_im_context_preedit_cursor

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

Source from the content-addressed store, hash-verified

267}
268
269void handle_im_context_preedit_cursor(wl_client *client, wl_resource *resource, int32_t index)
270{
271 auto context = static_cast<wayfire_input_method_v1_context*>(wl_resource_get_user_data(resource));
272 if (context && context->text_input)
273 {
274 context->text_input->send_preedit_cursor(index);
275 }
276}
277
278void handle_im_context_delete_surrounding_text(wl_client *client, wl_resource *resource,
279 int32_t index, uint32_t length)

Callers

nothing calls this directly

Calls 1

send_preedit_cursorMethod · 0.45

Tested by

no test coverage detected