From c90679ea7bcef6db09adb4c5b4f11ef84dbb84e9 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Tue, 10 Mar 2026 21:27:02 +0100 Subject: [PATCH] fix(compositor): remove nonexistent PresentationHandler trait impl --- crates/weft-compositor/src/state.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/crates/weft-compositor/src/state.rs b/crates/weft-compositor/src/state.rs index 6c0f4a0..3fdf986 100644 --- a/crates/weft-compositor/src/state.rs +++ b/crates/weft-compositor/src/state.rs @@ -25,7 +25,7 @@ use smithay::{ }, output::OutputManagerState, pointer_constraints::{PointerConstraintsHandler, PointerConstraintsState}, - presentation::{PresentationHandler, PresentationState}, + presentation::PresentationState, seat::WaylandFocus, shell::{ wlr_layer::{Layer, LayerSurface, WlrLayerShellHandler, WlrLayerShellState}, @@ -308,14 +308,7 @@ delegate_dmabuf!(WeftCompositorState); impl smithay::wayland::output::OutputHandler for WeftCompositorState {} delegate_output!(WeftCompositorState); -// --- PresentationHandler --- - -impl PresentationHandler for WeftCompositorState { - fn presentation_state(&mut self) -> &mut PresentationState { - &mut self.presentation_state - } -} - +// PresentationState has no handler trait; delegate macro only requires Dispatch bounds. delegate_presentation!(WeftCompositorState); // TextInputManagerState has no handler trait; delegate macro only requires SeatHandler.