sway-patched-tray-menu-github/sway/desktop
Kenny Levinsen 2660c0c1bc 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 4e6f515253)
2021-06-24 18:21:29 +02:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c idle_inhibit: Store wlr inhibitor instead of view 2021-03-21 12:27:29 +01:00
layer_shell.c desktop/layer_shell: fix centering for opposing anchors 2021-06-24 18:21:29 +02:00
output.c Remove usage of surface->sx|sy 2021-06-24 18:21:29 +02:00
render.c desktop/render: Pass explicit clip box to render 2021-06-24 18:21:29 +02:00
surface.c Make handle_destroy and output_repaint_timer_handler static 2020-03-04 03:09:43 +01:00
transaction.c transaction: Remove unused ready_immediately 2021-02-23 19:38:05 +01:00
xdg_shell.c shells: Update comment about size change on commit 2021-02-23 19:38:05 +01:00
xwayland.c xwayland: simplify override-redirect focus restoration 2021-03-12 10:52:12 +01:00