| 247 | } |
| 248 | |
| 249 | void 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 | |
| 259 | void handle_im_context_preedit_styling(wl_client *client, wl_resource *resource, |
| 260 | uint32_t index, uint32_t length, uint32_t style) |
nothing calls this directly
no test coverage detected