aboutsummaryrefslogtreecommitdiff
path: root/src/layout.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-12-03 13:50:07 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-12-03 13:50:07 +0400
commit0e29e7f6ff800af0effdad19be4e63e7e9cd84a4 (patch)
tree2405b690a0693c40fbffd2b9daa5827b7cbb7eee /src/layout.rs
parent626c720b7ac267b91d1f2b5eb53046ed5e90bc00 (diff)
downloadniri-0e29e7f6ff800af0effdad19be4e63e7e9cd84a4.tar.gz
niri-0e29e7f6ff800af0effdad19be4e63e7e9cd84a4.tar.bz2
niri-0e29e7f6ff800af0effdad19be4e63e7e9cd84a4.zip
Keep monitor aspect ratio and clamp to monitor for tablets
Before, the full tablet area was used, even if the aspect ratio didn't match the monitor. Also, the coordinates weren't clamped.
Diffstat (limited to 'src/layout.rs')
0 files changed, 0 insertions, 0 deletions