set_primary_focus

Function set_primary_focus 

Source
pub fn set_primary_focus<D>(
    dh: &DisplayHandle,
    seat: &Seat<D>,
    client: Option<Client>,
)
where D: SeatHandler + PrimarySelectionHandler + 'static,
Available on crate feature wayland_frontend only.
Expand description

Set the primary selection focus to a certain client for a given seat

If the focus is different from the existing focus, the current selection will be offered to the client.