aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-03-30 00:16:18 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-03-30 00:16:18 -0400
commit7cfa56e30bcf6274649171e7623e033ee5c024ee (patch)
tree124c071dbea68d674caef29312a068e74913ebba
parentbd96a6968b13c4f2a86b3ec292c8c7fb81e505c1 (diff)
Use output coords for layer surfaces
This will need to be more carefully thought out when we get the output_layout working entirely.
-rw-r--r--sway/desktop/output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index a9c59684..87eb80fe 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -187,8 +187,7 @@ static void render_layer(struct sway_output *output,
wl_list_for_each(sway_layer, layer, link) {
struct wlr_layer_surface *layer = sway_layer->layer_surface;
render_surface(layer->surface, output->wlr_output, when,
- sway_layer->geo.x + output_layout_box->x,
- sway_layer->geo.y + output_layout_box->y, 0);
+ sway_layer->geo.x, sway_layer->geo.y, 0);
wlr_surface_send_frame_done(layer->surface, when);
}
}