mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-26 17:03:09 +00:00
fix(compositor): remove nonexistent PresentationHandler trait impl
This commit is contained in:
parent
fcd4a3bacd
commit
c90679ea7b
1 changed files with 2 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue