summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/desktop/render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index 1f374740..cdac9c72 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -194,7 +194,8 @@ static void render_view_toplevels(struct sway_view *view,
194 }; 194 };
195 // Render all toplevels without descending into popups 195 // Render all toplevels without descending into popups
196 output_surface_for_each_surface(output, view->surface, 196 output_surface_for_each_surface(output, view->surface,
197 view->swayc->current.view_x, view->swayc->current.view_y, 197 view->swayc->current.view_x - output->wlr_output->lx,
198 view->swayc->current.view_y - output->wlr_output->ly,
198 render_surface_iterator, &data); 199 render_surface_iterator, &data);
199} 200}
200 201