Add single-pixel-buffer-v1
This commit is contained in:
parent
c48dc1107f
commit
889499b64d
3 changed files with 9 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ use smithay::{
|
|||
xdg::{decoration::XdgDecorationState, XdgShellState},
|
||||
},
|
||||
shm::ShmState,
|
||||
single_pixel_buffer::SinglePixelBufferState,
|
||||
tablet_manager::TabletManagerState,
|
||||
text_input::TextInputManagerState,
|
||||
viewporter::ViewporterState,
|
||||
|
|
@ -512,6 +513,7 @@ impl State {
|
|||
TextInputManagerState::new::<Self>(&dh);
|
||||
VirtualKeyboardManagerState::new::<State, _>(&dh, client_is_privileged);
|
||||
AlphaModifierState::new::<Self>(&dh);
|
||||
SinglePixelBufferState::new::<Self>(&dh);
|
||||
|
||||
let idle_notifier_state = IdleNotifierState::<Self>::new(&dh, handle.clone());
|
||||
let idle_inhibit_manager_state = IdleInhibitManagerState::new::<State>(&dh);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ pub mod security_context;
|
|||
pub mod selection;
|
||||
pub mod session_lock;
|
||||
pub mod shm;
|
||||
pub mod single_pixel_buffer;
|
||||
pub mod tablet_manager;
|
||||
pub mod text_input;
|
||||
pub mod toplevel_info;
|
||||
|
|
|
|||
6
src/wayland/handlers/single_pixel_buffer.rs
Normal file
6
src/wayland/handlers/single_pixel_buffer.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::state::State;
|
||||
use smithay::delegate_single_pixel_buffer;
|
||||
|
||||
delegate_single_pixel_buffer!(State);
|
||||
Loading…
Add table
Add a link
Reference in a new issue