diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-15 09:07:44 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | c008e1c5bcab360425780997f70818fa4252c938 (patch) | |
| tree | fe8b7138ddc3b7bc9a3616cbf42cf8d8defb807e /src/layout/insert_hint_element.rs | |
| parent | 1aa60f0da3e7f1a0bf50d6b88d59db6ba094d4f0 (diff) | |
| download | niri-c008e1c5bcab360425780997f70818fa4252c938.tar.gz niri-c008e1c5bcab360425780997f70818fa4252c938.tar.bz2 niri-c008e1c5bcab360425780997f70818fa4252c938.zip | |
floating: Implement smarter clamping for window location
A small part of the window always remains on-screen regardless of the working
area changes.
Interactive move lets the user position the window anywhere; automatic actions
like toggle-window-floating and dialog opening try to put the window fully
on-screen.
The size-fraction canonical floating window position remains unclamped, and
clamping happens when recomputing the logical position.
Diffstat (limited to 'src/layout/insert_hint_element.rs')
0 files changed, 0 insertions, 0 deletions
