Class
PhocSeat
[−]
Description [src]
class Phoc.Seat : GObject.Object
{
seat: wlr_seat*,
cursor: PhocCursor*,
touch_id: int32_t,
touch_x: double,
touch_y: double,
focused_layer: wlr_layer_surface_v1*,
im_relay: PhocInputMethodRelay,
drag_icon: PhocDragIcon*,
keyboards: GSList*,
pointers: GSList*,
switches: GSList*,
touch: GSList*,
tablets: GSList*,
tablet_pads: wl_list,
request_set_selection: wl_listener,
request_set_primary_selection: wl_listener,
request_start_drag: wl_listener,
start_drag: wl_listener,
destroy: wl_listener
}
Represents a seat.
[−]
Instance methods
phoc_seat_cycle_focus
Cycles the input focus through the current seat views. Depending on forward
it
cycles either forward or backward.
phoc_seat_set_focus_view
If possible it will unfocus the currently focused view and focus
the given %view, raise it if necessary and make it appear
activated. If NULL
is passed only the current view is unfocused.
phoc_seat_view_from_view
Looks up the seat view tracking the given view. If no seat view is found a new one is created.
[+]