diff options
author | 2021-04-25 23:25:23 +0200 | |
---|---|---|
committer | 2021-04-26 09:24:12 +0200 | |
commit | 4e6f51525308a8883bf998a360a192edc0822cdd (patch) | |
tree | 7b9f8eb230e971c5588f8a9d8de2a0ff5c6eecab /include/swaynag | |
parent | Remove usage of surface->sx|sy (diff) | |
download | sway-4e6f51525308a8883bf998a360a192edc0822cdd.tar.gz sway-4e6f51525308a8883bf998a360a192edc0822cdd.tar.zst sway-4e6f51525308a8883bf998a360a192edc0822cdd.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
Diffstat (limited to 'include/swaynag')
0 files changed, 0 insertions, 0 deletions