aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2021-04-25 23:25:23 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-04-26 09:24:12 +0200
commit4e6f51525308a8883bf998a360a192edc0822cdd (patch)
tree7b9f8eb230e971c5588f8a9d8de2a0ff5c6eecab /sway/desktop/output.c
parentRemove usage of surface->sx|sy (diff)
downloadsway-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 'sway/desktop/output.c')
0 files changed, 0 insertions, 0 deletions