Skip to content

Commit

Permalink
fix(tiling): Ignore if mouse is on separate display on window attach
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Sep 14, 2021
1 parent e3923ad commit e316422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto_tiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ export class AutoTiler {
return Err('focused window is not attached');
}

return onto.meta.get_monitor() == win.meta.get_monitor() && onto.workspace_id() == win.workspace_id()
return onto.workspace_id() == win.workspace_id()
? Ok(onto)
: Err('window is not on the same monitor or workspace');
}
Expand Down

0 comments on commit e316422

Please sign in to comment.