aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-04-25 23:25:23 +0200
committerSimon Ser <contact@emersion.fr>2021-04-26 09:24:12 +0200
commit4e6f51525308a8883bf998a360a192edc0822cdd (patch)
tree7b9f8eb230e971c5588f8a9d8de2a0ff5c6eecab /sway/commands
parent7ec9d07fc597c739760df5223469e9f15340db78 (diff)
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/commands')
0 files changed, 0 insertions, 0 deletions