diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-04-25 23:25:23 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-24 18:21:29 +0200 |
commit | 2660c0c1bc002be43b5c8531d514ba06c572b287 (patch) | |
tree | 52ae7e855ba9c651cac114914be1368b1d9b2114 /CONTRIBUTING.md | |
parent | Remove usage of surface->sx|sy (diff) | |
download | sway-2660c0c1bc002be43b5c8531d514ba06c572b287.tar.gz sway-2660c0c1bc002be43b5c8531d514ba06c572b287.tar.zst sway-2660c0c1bc002be43b5c8531d514ba06c572b287.zip |
desktop/render: Pass explicit clip box to render
render_surface_iterator previously deduced the clip box from an optional
container passed with render data. This causes problems when offsets in
view geometry need to be compensated for in the clip dimensions.
Instead, prepare the clip box in render_view_toplevels where the offsets
are being applied, and compensate for them immediately.
A similar compensation is applied to render_saved_view.
Closes: https://github.com/swaywm/sway/issues/6223
(cherry picked from commit 4e6f51525308a8883bf998a360a192edc0822cdd)
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions