Recenter bottom monitor and add small gap on top monitor.
This commit is contained in:
parent
4376dc55be
commit
6ae87393c7
@ -22,7 +22,11 @@ fn main() -> Result<()> {
|
||||
height: 1440,
|
||||
},
|
||||
offset: Offset {
|
||||
x: dell.resolution.height as isize,
|
||||
// The '1 +' here creates a gap between the top monitor and side monitor. When all
|
||||
// monitors have a gap, you can move the mouse between any combo. When the top monitor
|
||||
// is flush with the left, the bottom monitor will have a hard edge that prevents the
|
||||
// mouse from moving to the left monitor.
|
||||
x: 1 + dell.resolution.height as isize,
|
||||
y: 0,
|
||||
},
|
||||
..Default::default()
|
||||
@ -34,8 +38,7 @@ fn main() -> Result<()> {
|
||||
height: 1440,
|
||||
},
|
||||
offset: Offset {
|
||||
x: dell.resolution.height as isize,
|
||||
//x: (dell.resolution.height + (lg.resolution.width - 2560) / 2) as isize,
|
||||
x: (dell.resolution.height + (lg.resolution.width - 2560) / 2) as isize,
|
||||
y: (lg.resolution.height) as isize,
|
||||
},
|
||||
..Default::default()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user