| 237 | } |
| 238 | |
| 239 | void 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 | |
| 249 | void handle_im_context_preedit_string(wl_client *client, wl_resource *resource, |
| 250 | uint32_t serial, const char *text, const char *commit) |
nothing calls this directly
no test coverage detected