@@ -1881,7 +1881,7 @@ impl State {
18811881 let res = shell. move_current_window (
18821882 seat,
18831883 & current_output,
1884- ( & current_output, Some ( workspace as usize ) ) ,
1884+ ( & current_output, Some ( workspace) ) ,
18851885 matches ! ( x, Action :: MoveToLastWorkspace ) ,
18861886 None ,
18871887 & mut self . common . workspace_state . update ( ) ,
@@ -1904,7 +1904,7 @@ impl State {
19041904 shell. move_current_window (
19051905 seat,
19061906 & current_output,
1907- ( & current_output, Some ( workspace as usize ) ) ,
1907+ ( & current_output, Some ( workspace) ) ,
19081908 matches ! ( x, Action :: MoveToNextWorkspace ) ,
19091909 direction,
19101910 & mut self . common . workspace_state . update ( ) ,
@@ -1949,7 +1949,7 @@ impl State {
19491949 shell. move_current_window (
19501950 seat,
19511951 & current_output,
1952- ( & current_output, Some ( workspace as usize ) ) ,
1952+ ( & current_output, Some ( workspace) ) ,
19531953 matches ! ( x, Action :: MoveToPreviousWorkspace ) ,
19541954 direction,
19551955 & mut self . common . workspace_state . update ( ) ,
0 commit comments