1
1
// SPDX-License-Identifier: MPL-2.0
2
+ #![ allow( deprecated) ] // Derives on deprecated variants produce warnings...
2
3
3
4
use serde:: { Deserialize , Serialize } ;
4
5
@@ -23,12 +24,14 @@ pub enum Action {
23
24
/// Maximize the active window
24
25
Maximize ,
25
26
27
+ #[ deprecated]
26
28
/// Migrate the active workspace to the next output
27
29
MigrateWorkspaceToNextOutput ,
28
30
29
31
/// Migrate the active workspace to the output in the given direction
30
32
MigrateWorkspaceToOutput ( Direction ) ,
31
33
34
+ #[ deprecated]
32
35
/// Migrate the active workspace to the previous output
33
36
MigrateWorkspaceToPreviousOutput ,
34
37
@@ -41,6 +44,7 @@ pub enum Action {
41
44
/// Move a window to the last workspace
42
45
MoveToLastWorkspace ,
43
46
47
+ #[ deprecated]
44
48
/// Move a window to the next output
45
49
MoveToNextOutput ,
46
50
@@ -50,6 +54,7 @@ pub enum Action {
50
54
/// Move a window to the given output
51
55
MoveToOutput ( Direction ) ,
52
56
57
+ #[ deprecated]
53
58
/// Move a window to the previous output
54
59
MoveToPreviousOutput ,
55
60
@@ -59,6 +64,7 @@ pub enum Action {
59
64
/// Move a window to the given workspace
60
65
MoveToWorkspace ( u8 ) ,
61
66
67
+ #[ deprecated]
62
68
/// Change focus to the next output
63
69
NextOutput ,
64
70
@@ -68,6 +74,7 @@ pub enum Action {
68
74
/// Change the orientation of a tiling group
69
75
Orientation ( Orientation ) ,
70
76
77
+ #[ deprecated]
71
78
/// Change focus to the previous output
72
79
PreviousOutput ,
73
80
@@ -80,6 +87,7 @@ pub enum Action {
80
87
/// Move a window to the last workspace
81
88
SendToLastWorkspace ,
82
89
90
+ #[ deprecated]
83
91
/// Move a window to the next output
84
92
SendToNextOutput ,
85
93
@@ -89,6 +97,7 @@ pub enum Action {
89
97
/// Move a window to the output in the given direction
90
98
SendToOutput ( Direction ) ,
91
99
100
+ #[ deprecated]
92
101
/// Move a window to the previous output
93
102
SendToPreviousOutput ,
94
103
0 commit comments