Skip to content

Commit a666c99

Browse files
Drakulixmmstick
authored andcommitted
config: Mark next/previous output actions deprecated
1 parent e2aa105 commit a666c99

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/src/shortcuts/action.rs

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
#![allow(deprecated)] // Derives on deprecated variants produce warnings...
23

34
use serde::{Deserialize, Serialize};
45

@@ -23,12 +24,14 @@ pub enum Action {
2324
/// Maximize the active window
2425
Maximize,
2526

27+
#[deprecated]
2628
/// Migrate the active workspace to the next output
2729
MigrateWorkspaceToNextOutput,
2830

2931
/// Migrate the active workspace to the output in the given direction
3032
MigrateWorkspaceToOutput(Direction),
3133

34+
#[deprecated]
3235
/// Migrate the active workspace to the previous output
3336
MigrateWorkspaceToPreviousOutput,
3437

@@ -41,6 +44,7 @@ pub enum Action {
4144
/// Move a window to the last workspace
4245
MoveToLastWorkspace,
4346

47+
#[deprecated]
4448
/// Move a window to the next output
4549
MoveToNextOutput,
4650

@@ -50,6 +54,7 @@ pub enum Action {
5054
/// Move a window to the given output
5155
MoveToOutput(Direction),
5256

57+
#[deprecated]
5358
/// Move a window to the previous output
5459
MoveToPreviousOutput,
5560

@@ -59,6 +64,7 @@ pub enum Action {
5964
/// Move a window to the given workspace
6065
MoveToWorkspace(u8),
6166

67+
#[deprecated]
6268
/// Change focus to the next output
6369
NextOutput,
6470

@@ -68,6 +74,7 @@ pub enum Action {
6874
/// Change the orientation of a tiling group
6975
Orientation(Orientation),
7076

77+
#[deprecated]
7178
/// Change focus to the previous output
7279
PreviousOutput,
7380

@@ -80,6 +87,7 @@ pub enum Action {
8087
/// Move a window to the last workspace
8188
SendToLastWorkspace,
8289

90+
#[deprecated]
8391
/// Move a window to the next output
8492
SendToNextOutput,
8593

@@ -89,6 +97,7 @@ pub enum Action {
8997
/// Move a window to the output in the given direction
9098
SendToOutput(Direction),
9199

100+
#[deprecated]
92101
/// Move a window to the previous output
93102
SendToPreviousOutput,
94103

0 commit comments

Comments
 (0)