11// SPDX-License-Identifier: MPL-2.0
2+ #![ allow( deprecated) ] // Derives on deprecated variants produce warnings...
23
34use 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