cosmic-comp/src/wayland/handlers/shm.rs
Victoria Brekenfeld 39de286d51 cargo fmt
2022-07-04 16:01:06 +02:00

15 lines
275 B
Rust

// SPDX-License-Identifier: GPL-3.0-only
use crate::state::State;
use smithay::{
delegate_shm,
wayland::shm::{ShmHandler, ShmState},
};
impl ShmHandler for State {
fn shm_state(&self) -> &ShmState {
&self.common.shm_state
}
}
delegate_shm!(State);