Phoc.InputMethodRelay.im_submit

### Method

# Phoc InputMethodRelayim_submit

#### Declaration [src]

    void
    phoc_input_method_relay_im_submit (
      PhocInputMethodRelay* self,
      wlr_surface* surface
    )

#### Description [src]

Submit the input method’s state if the given surface has focus. This allows to e.g. submit any preedit when needed.

#### Parameters

`surface`

  Type: `wlr_surface*`

  No description available.

  The argument can be `NULL`.
  The data is owned by the caller of the method.