We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a49d7be commit 3a520dcCopy full SHA for 3a520dc
src/auto_tiler.ts
@@ -685,9 +685,15 @@ export class AutoTiler {
685
return Err('focused window is not attached');
686
}
687
688
+ //if (onto.workspace_id() == win.workspace_id()) {
689
+ // return onto.meta.get_monitor() == win.meta.get_monitor() && onto.workspace_id() == win.workspace_id()
690
+ // ? Ok(onto)
691
+ // : Err('window is not on the same monitor or workspace');
692
+ //}
693
+
694
return onto.meta.get_monitor() == win.meta.get_monitor() && onto.workspace_id() == win.workspace_id()
- ? Ok(onto)
- : Err('window is not on the same monitor or workspace');
695
+ ? Ok(onto)
696
+ : Err('window is not on the same monitor or workspace');
697
698
699
private toggle_orientation_(ext: Ext, focused: ShellWindow): Result<void, string> {
0 commit comments