Method

PhocInputMethodRelayis_enabled

Declaration [src]

_Bool
phoc_input_method_relay_is_enabled (
  PhocInputMethodRelay* relay,
  wlr_surface* surface
)

Description [src]

Checks whether input method is currently enabled for surface.

Parameters

surface

Type: wlr_surface*

The surface to check.

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

Return value

Type: _Bool

true if input method is enabled, otherwise false.