fix(compositor): remove nonexistent PresentationHandler trait impl

This commit is contained in:
Marco Allegretti 2026-03-10 21:27:02 +01:00
parent fcd4a3bacd
commit c90679ea7b

View file

@ -25,7 +25,7 @@ use smithay::{
}, },
output::OutputManagerState, output::OutputManagerState,
pointer_constraints::{PointerConstraintsHandler, PointerConstraintsState}, pointer_constraints::{PointerConstraintsHandler, PointerConstraintsState},
presentation::{PresentationHandler, PresentationState}, presentation::PresentationState,
seat::WaylandFocus, seat::WaylandFocus,
shell::{ shell::{
wlr_layer::{Layer, LayerSurface, WlrLayerShellHandler, WlrLayerShellState}, wlr_layer::{Layer, LayerSurface, WlrLayerShellHandler, WlrLayerShellState},
@ -308,14 +308,7 @@ delegate_dmabuf!(WeftCompositorState);
impl smithay::wayland::output::OutputHandler for WeftCompositorState {} impl smithay::wayland::output::OutputHandler for WeftCompositorState {}
delegate_output!(WeftCompositorState); delegate_output!(WeftCompositorState);
// --- PresentationHandler --- // PresentationState has no handler trait; delegate macro only requires Dispatch bounds.
impl PresentationHandler for WeftCompositorState {
fn presentation_state(&mut self) -> &mut PresentationState {
&mut self.presentation_state
}
}
delegate_presentation!(WeftCompositorState); delegate_presentation!(WeftCompositorState);
// TextInputManagerState has no handler trait; delegate macro only requires SeatHandler. // TextInputManagerState has no handler trait; delegate macro only requires SeatHandler.