2022-07-04 15:26:26 +02:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
|
|
2022-07-04 16:00:29 +02:00
|
|
|
use crate::state::State;
|
2022-07-04 15:26:26 +02:00
|
|
|
use smithay::{
|
|
|
|
|
delegate_seat,
|
2022-07-04 16:00:29 +02:00
|
|
|
wayland::seat::{SeatHandler, SeatState},
|
2022-07-04 15:26:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
impl SeatHandler for State {
|
|
|
|
|
fn seat_state(&mut self) -> &mut SeatState<Self> {
|
|
|
|
|
&mut self.common.seat_state
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
delegate_seat!(State);
|