Skip to content

Commit e316422

Browse files
committed
fix(tiling): Ignore if mouse is on separate display on window attach
1 parent e3923ad commit e316422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auto_tiler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ export class AutoTiler {
685685
return Err('focused window is not attached');
686686
}
687687

688-
return onto.meta.get_monitor() == win.meta.get_monitor() && onto.workspace_id() == win.workspace_id()
688+
return onto.workspace_id() == win.workspace_id()
689689
? Ok(onto)
690690
: Err('window is not on the same monitor or workspace');
691691
}

0 commit comments

Comments
 (0)