aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-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,
};
// Render all toplevels without descending into popups
output_surface_for_each_surface(output, view->surface,
- view->swayc->current.view_x, view->swayc->current.view_y,
+ view->swayc->current.view_x - output->wlr_output->lx,
+ view->swayc->current.view_y - output->wlr_output->ly,
render_surface_iterator, &data);
}