Add alpha-modifier-v1 protocol
This commit is contained in:
parent
b5dcec5215
commit
036ca84829
5 changed files with 11 additions and 2 deletions
|
|
@ -63,6 +63,7 @@ use smithay::{
|
|||
},
|
||||
utils::{Clock, IsAlive, Monotonic},
|
||||
wayland::{
|
||||
alpha_modifier::AlphaModifierState,
|
||||
compositor::{CompositorClientState, CompositorState},
|
||||
dmabuf::{DmabufFeedback, DmabufGlobal, DmabufState},
|
||||
fractional_scale::{with_fractional_scale, FractionalScaleManagerState},
|
||||
|
|
@ -437,6 +438,7 @@ impl State {
|
|||
InputMethodManagerState::new::<Self, _>(&dh, client_is_privileged);
|
||||
TextInputManagerState::new::<Self>(&dh);
|
||||
VirtualKeyboardManagerState::new::<State, _>(&dh, client_is_privileged);
|
||||
AlphaModifierState::new::<Self>(&dh);
|
||||
|
||||
let idle_notifier_state = IdleNotifierState::<Self>::new(&dh, handle.clone());
|
||||
let idle_inhibit_manager_state = IdleInhibitManagerState::new::<State>(&dh);
|
||||
|
|
|
|||
6
src/wayland/handlers/alpha_modifier.rs
Normal file
6
src/wayland/handlers/alpha_modifier.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use crate::state::State;
|
||||
use smithay::delegate_alpha_modifier;
|
||||
|
||||
delegate_alpha_modifier!(State);
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
pub mod alpha_modifier;
|
||||
pub mod buffer;
|
||||
pub mod compositor;
|
||||
pub mod data_control;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue