aboutsummaryrefslogtreecommitdiff
path: root/src/layout/shadow.rs
diff options
context:
space:
mode:
authorabmantis <amfcalt@gmail.com>2025-07-13 15:49:08 +0100
committerIvan Molodetskikh <yalterz@gmail.com>2025-07-14 06:48:56 +0300
commit51b6a495c5ab701bb3ef4d1180e4fe190acc4f60 (patch)
treef221965e5a0d7dde37868674bd75c6be7c1d86ed /src/layout/shadow.rs
parentbb40a35ccf6edbe2c838686562cbdad1ef98ce72 (diff)
downloadniri-51b6a495c5ab701bb3ef4d1180e4fe190acc4f60.tar.gz
niri-51b6a495c5ab701bb3ef4d1180e4fe190acc4f60.tar.bz2
niri-51b6a495c5ab701bb3ef4d1180e4fe190acc4f60.zip
Simplify pointer handling in constraint check
Minor change so that `get_pointer()` (which has a lock) does not get called twice. Also moved the call to `current_location()` to the scope where it is needed.
Diffstat (limited to 'src/layout/shadow.rs')
0 files changed, 0 insertions, 0 deletions