cosmic-comp/src/wayland/handlers/seat.rs

16 lines
302 B
Rust
Raw Normal View History

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