Method

PhocSeatset_focus_surface

Declaration [src]

void
phoc_seat_set_focus_surface (
  PhocSeat* self,
  wlr_surface* wlr_surface
)

Description [src]

Focus the given surface. Except from cursor code you want to invoke Seat@focus_view instead.

Parameters

wlr_surface

Type: wlr_surface*

The surface to focus.

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