mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-27 01:13:09 +00:00
fix(compositor): add missing BufferHandler supertrait impl for DmabufHandler
This commit is contained in:
parent
3ebe50ef31
commit
e981044c43
1 changed files with 8 additions and 1 deletions
|
|
@ -17,13 +17,14 @@ use smithay::{
|
||||||
calloop::{LoopHandle, LoopSignal},
|
calloop::{LoopHandle, LoopSignal},
|
||||||
wayland_server::{
|
wayland_server::{
|
||||||
backend::{ClientData, ClientId, DisconnectReason},
|
backend::{ClientData, ClientId, DisconnectReason},
|
||||||
protocol::{wl_output::WlOutput, wl_surface::WlSurface},
|
protocol::{wl_buffer::WlBuffer, wl_output::WlOutput, wl_surface::WlSurface},
|
||||||
Client, DisplayHandle,
|
Client, DisplayHandle,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
utils::{Logical, Point, Rectangle},
|
utils::{Logical, Point, Rectangle},
|
||||||
wayland::{
|
wayland::{
|
||||||
compositor::{CompositorClientState, CompositorHandler, CompositorState},
|
compositor::{CompositorClientState, CompositorHandler, CompositorState},
|
||||||
|
buffer::BufferHandler,
|
||||||
cursor_shape::CursorShapeManagerState,
|
cursor_shape::CursorShapeManagerState,
|
||||||
dmabuf::{DmabufGlobal, DmabufHandler, DmabufState, ImportNotifier},
|
dmabuf::{DmabufGlobal, DmabufHandler, DmabufState, ImportNotifier},
|
||||||
input_method::{InputMethodHandler, InputMethodManagerState, PopupSurface as ImPopupSurface},
|
input_method::{InputMethodHandler, InputMethodManagerState, PopupSurface as ImPopupSurface},
|
||||||
|
|
@ -274,6 +275,12 @@ impl SeatHandler for WeftCompositorState {
|
||||||
|
|
||||||
delegate_seat!(WeftCompositorState);
|
delegate_seat!(WeftCompositorState);
|
||||||
|
|
||||||
|
// --- BufferHandler (required supertrait for DmabufHandler) ---
|
||||||
|
|
||||||
|
impl BufferHandler for WeftCompositorState {
|
||||||
|
fn buffer_destroyed(&mut self, _buffer: &WlBuffer) {}
|
||||||
|
}
|
||||||
|
|
||||||
// --- DmabufHandler ---
|
// --- DmabufHandler ---
|
||||||
|
|
||||||
impl DmabufHandler for WeftCompositorState {
|
impl DmabufHandler for WeftCompositorState {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue