File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -685,9 +685,9 @@ export class AutoTiler {
685
685
return Err ( 'focused window is not attached' ) ;
686
686
}
687
687
688
- return onto . workspace_id ( ) == win . workspace_id ( )
688
+ return onto . meta . get_monitor ( ) == win . meta . get_monitor ( ) && onto . workspace_id ( ) == win . workspace_id ( )
689
689
? Ok ( onto )
690
- : Err ( 'window is not on the same workspace' ) ;
690
+ : Err ( 'window is not on the same monitor or workspace' ) ;
691
691
}
692
692
693
693
private toggle_orientation_ ( ext : Ext , focused : ShellWindow ) : Result < void , string > {
Original file line number Diff line number Diff line change @@ -2057,7 +2057,7 @@ export class Ext extends Ecs.System<ExtEvent> {
2057
2057
let actor = window . meta . get_compositor_private ( ) ;
2058
2058
if ( actor ) {
2059
2059
if ( ! window . meta . minimized ) {
2060
- tiler . auto_tile ( this , window , true ) ;
2060
+ tiler . auto_tile ( this , window , false ) ;
2061
2061
}
2062
2062
}
2063
2063
}
You can’t perform that action at this time.
0 commit comments