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

Function handle_im_context_language

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

Source from the content-addressed store, hash-verified

354}
355
356void handle_im_context_language(wl_client *client, wl_resource *resource,
357 uint32_t serial, const char *language)
358{
359 auto context = static_cast<wayfire_input_method_v1_context*>(wl_resource_get_user_data(resource));
360 if (context && context->text_input)
361 {
362 context->text_input->send_language(serial, language);
363 }
364}
365
366void handle_im_context_text_direction(wl_client *client, wl_resource *resource,
367 uint32_t serial, uint32_t direction)

Callers

nothing calls this directly

Calls 1

send_languageMethod · 0.45

Tested by

no test coverage detected