diff --git a/src/input/actions.rs b/src/input/actions.rs index 0eb7b7a4..143d918a 100644 --- a/src/input/actions.rs +++ b/src/input/actions.rs @@ -582,10 +582,12 @@ impl State { } } + #[allow(deprecated)] Action::NextOutput => { warn!("Skipping deprecated shortcut NextOutput"); } + #[allow(deprecated)] Action::PreviousOutput => { warn!("Skipping deprecated shortcut PreviousOutput"); } @@ -652,10 +654,12 @@ impl State { } } + #[allow(deprecated)] Action::MoveToNextOutput | Action::SendToNextOutput => { warn!("Ignoring deprecated action Move/SendToNextOutput"); } + #[allow(deprecated)] Action::MoveToPreviousOutput | Action::SendToPreviousOutput => { warn!("Ignoring deprecated action Move/SendToPreviousOutput"); } @@ -677,10 +681,12 @@ impl State { } } + #[allow(deprecated)] Action::MigrateWorkspaceToNextOutput => { warn!("Ignoring deprecated action MigrateWorkspaceToNextOutput"); } + #[allow(deprecated)] Action::MigrateWorkspaceToPreviousOutput => { warn!("Ignoring deprecated action MigrateWorkspaceToPreviousOutput"); } diff --git a/src/wayland/protocols/workspace/mod.rs b/src/wayland/protocols/workspace/mod.rs index 2ea3a939..a86368f0 100644 --- a/src/wayland/protocols/workspace/mod.rs +++ b/src/wayland/protocols/workspace/mod.rs @@ -289,7 +289,7 @@ where &'a self, workspace: &'a WorkspaceHandle, client: &'a ObjectId, - ) -> impl Iterator + 'a { + ) -> impl Iterator + 'a { self.groups .iter() .find_map(|g| g.workspaces.iter().find(|w| w.id == workspace.id))