pub struct Seat { /* private fields */ }
Expand description
A seat has two identifiers, the physical name and the logical name.
A device is always assigned to exactly one seat. It may change to a different logical seat but it cannot change physical seats. See Seats for details.
Implementations§
Source§impl Seat
impl Seat
Sourcepub fn physical_name(&self) -> &str
pub fn physical_name(&self) -> &str
Return the physical name of the seat.
For libinput contexts created from udev, this is always the
same value as passed into udev_assign_seat
and all
seats from that context will have the same physical name.
The physical name of the seat is one that is usually set by the system or lower levels of the stack. In most cases, this is the base filter for devices - devices assigned to seats outside the current seat will not be available to the caller.
Sourcepub fn logical_name(&self) -> &str
pub fn logical_name(&self) -> &str
Return the logical name of the seat.
This is an identifier to group sets of devices within the compositor.