| 333 | } |
| 334 | |
| 335 | void handle_im_context_key(wl_client*, wl_resource *resource, |
| 336 | uint32_t, uint32_t time, uint32_t key, uint32_t state) |
| 337 | { |
| 338 | auto context = static_cast<wayfire_input_method_v1_context*>(wl_resource_get_user_data(resource)); |
| 339 | if (context) |
| 340 | { |
| 341 | context->handle_im_key(time, key, state); |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | void handle_im_context_modifiers(wl_client *client, wl_resource *resource, |
| 346 | uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, |
nothing calls this directly
no test coverage detected