diff --git a/src/state.rs b/src/state.rs index 6406cc6c..b10c4d8a 100644 --- a/src/state.rs +++ b/src/state.rs @@ -76,6 +76,7 @@ use smithay::{ compositor::{CompositorClientState, CompositorState, SurfaceData}, cursor_shape::CursorShapeManagerState, dmabuf::{DmabufFeedback, DmabufGlobal, DmabufState}, + fixes::FixesState, fractional_scale::{FractionalScaleManagerState, with_fractional_scale}, idle_inhibit::IdleInhibitManagerState, idle_notify::IdleNotifierState, @@ -677,6 +678,7 @@ impl State { VirtualKeyboardManagerState::new::(dh, client_not_sandboxed); AlphaModifierState::new::(dh); SinglePixelBufferState::new::(dh); + FixesState::new::(&dh); let idle_notifier_state = IdleNotifierState::::new(dh, handle.clone()); let idle_inhibit_manager_state = IdleInhibitManagerState::new::(dh); diff --git a/src/wayland/handlers/fixes.rs b/src/wayland/handlers/fixes.rs new file mode 100644 index 00000000..b589aabc --- /dev/null +++ b/src/wayland/handlers/fixes.rs @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-only + +use crate::state::State; +use smithay::delegate_fixes; + +delegate_fixes!(State); diff --git a/src/wayland/handlers/mod.rs b/src/wayland/handlers/mod.rs index 06fd816f..d3d22f00 100644 --- a/src/wayland/handlers/mod.rs +++ b/src/wayland/handlers/mod.rs @@ -12,6 +12,7 @@ pub mod dmabuf; pub mod drm; pub mod drm_lease; pub mod drm_syncobj; +pub mod fixes; pub mod foreign_toplevel_list; pub mod fractional_scale; pub mod idle_inhibit;