refactor(wayland): remove xdg output manager
This commit is contained in:
@@ -23,7 +23,6 @@ use smithay::{
|
|||||||
buffer::BufferHandler,
|
buffer::BufferHandler,
|
||||||
compositor::CompositorState,
|
compositor::CompositorState,
|
||||||
dmabuf::{self, DmabufGlobal, DmabufHandler, DmabufState},
|
dmabuf::{self, DmabufGlobal, DmabufHandler, DmabufState},
|
||||||
output::OutputManagerState,
|
|
||||||
shell::kde::decoration::KdeDecorationState,
|
shell::kde::decoration::KdeDecorationState,
|
||||||
shm::{ShmHandler, ShmState},
|
shm::{ShmHandler, ShmState},
|
||||||
},
|
},
|
||||||
@@ -58,7 +57,6 @@ pub struct WaylandState {
|
|||||||
pub dmabuf_state: DmabufState,
|
pub dmabuf_state: DmabufState,
|
||||||
pub dmabuf_global: DmabufGlobal,
|
pub dmabuf_global: DmabufGlobal,
|
||||||
pub pending_dmabufs: Vec<Dmabuf>,
|
pub pending_dmabufs: Vec<Dmabuf>,
|
||||||
pub output_manager_state: OutputManagerState,
|
|
||||||
pub output: Output,
|
pub output: Output,
|
||||||
pub seats: FxHashMap<ClientId, SeatData>,
|
pub seats: FxHashMap<ClientId, SeatData>,
|
||||||
}
|
}
|
||||||
@@ -84,7 +82,6 @@ impl WaylandState {
|
|||||||
renderer.dmabuf_formats().cloned().collect::<Vec<_>>(),
|
renderer.dmabuf_formats().cloned().collect::<Vec<_>>(),
|
||||||
log.clone(),
|
log.clone(),
|
||||||
);
|
);
|
||||||
let output_manager_state = OutputManagerState::new_with_xdg_output::<Self>(&display_handle);
|
|
||||||
let output = Output::new(
|
let output = Output::new(
|
||||||
"1x".to_owned(),
|
"1x".to_owned(),
|
||||||
smithay::output::PhysicalProperties {
|
smithay::output::PhysicalProperties {
|
||||||
@@ -124,7 +121,6 @@ impl WaylandState {
|
|||||||
dmabuf_state,
|
dmabuf_state,
|
||||||
dmabuf_global,
|
dmabuf_global,
|
||||||
pending_dmabufs: Vec::new(),
|
pending_dmabufs: Vec::new(),
|
||||||
output_manager_state,
|
|
||||||
output,
|
output,
|
||||||
seats: FxHashMap::default(),
|
seats: FxHashMap::default(),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user