diff options
| author | llyyr <llyyr.public@gmail.com> | 2024-08-23 01:55:42 +0530 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-09-20 19:44:17 +0200 |
| commit | 9cdd57a032d3a672abb02b97f9da78920abbcce4 (patch) | |
| tree | 1f0cb77da08f47ac54c754a20547dd828ae0f580 /client/pool-buffer.c | |
| parent | a4927e4cb2d26e78e76ad11f7eefaa3ee32bbcac (diff) | |
sway/tree/container: don't trunc coords in `floating_fix_coordinates`
This can cause issues such as the window not being shown at the exact
same coordinates when the old and new wlr_box aren't the same
dimensions and the container is being moved back-and-forth between them.
For example, in the case where a floating window gets moved
from one output to another but the outputs aren't the same resolution.
For e.g. have two displays that aren't the same resolution then:
1. Open a floating window and set it to pos 0,0 on output 2
2. Send it to scratchpad then `scratchpad show` on output 1
3. `scratchpad show` on output 2 again
Observe that the window isn't at 0,0 on output 2 anymore.
(cherry picked from commit 77b9ddabe2a97c5d04c30929b0f8cbde3470fdd7)
Diffstat (limited to 'client/pool-buffer.c')
0 files changed, 0 insertions, 0 deletions
