Method

PhocInputMethodRelayset_focus

Declaration [src]

void
phoc_input_method_relay_set_focus (
  PhocInputMethodRelay* relay,
  wlr_surface* surface
)

Description [src]

Updates the currently focused surface. Surface must belong to the same seat.

Parameters

surface

Type: wlr_surface*

The surface to focus.

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