toplevel-info/mgmt: Update to v2/v3
This commit is contained in:
parent
bbda6fb13d
commit
9c7c41c508
11 changed files with 270 additions and 119 deletions
|
|
@ -68,7 +68,6 @@ use smithay::{
|
|||
compositor::{CompositorClientState, CompositorState, SurfaceData},
|
||||
cursor_shape::CursorShapeManagerState,
|
||||
dmabuf::{DmabufFeedback, DmabufGlobal, DmabufState},
|
||||
foreign_toplevel_list::ForeignToplevelListState,
|
||||
fractional_scale::{with_fractional_scale, FractionalScaleManagerState},
|
||||
idle_inhibit::IdleInhibitManagerState,
|
||||
idle_notify::IdleNotifierState,
|
||||
|
|
@ -195,7 +194,6 @@ pub struct Common {
|
|||
pub compositor_state: CompositorState,
|
||||
pub data_device_state: DataDeviceState,
|
||||
pub dmabuf_state: DmabufState,
|
||||
pub foreign_toplevel_list: ForeignToplevelListState,
|
||||
pub fractional_scale_state: FractionalScaleManagerState,
|
||||
pub keyboard_shortcuts_inhibit_state: KeyboardShortcutsInhibitState,
|
||||
pub output_state: OutputManagerState,
|
||||
|
|
@ -496,8 +494,6 @@ impl State {
|
|||
let compositor_state = CompositorState::new::<Self>(dh);
|
||||
let data_device_state = DataDeviceState::new::<Self>(dh);
|
||||
let dmabuf_state = DmabufState::new();
|
||||
let foreign_toplevel_list =
|
||||
ForeignToplevelListState::new_with_filter::<State>(dh, client_is_privileged);
|
||||
let fractional_scale_state = FractionalScaleManagerState::new::<State>(dh);
|
||||
let keyboard_shortcuts_inhibit_state = KeyboardShortcutsInhibitState::new::<Self>(dh);
|
||||
let output_state = OutputManagerState::new_with_xdg_output::<Self>(dh);
|
||||
|
|
@ -595,7 +591,6 @@ impl State {
|
|||
compositor_state,
|
||||
data_device_state,
|
||||
dmabuf_state,
|
||||
foreign_toplevel_list,
|
||||
fractional_scale_state,
|
||||
idle_notifier_state,
|
||||
idle_inhibit_manager_state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue