summaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-30 00:16:18 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-30 00:16:18 -0400
commit00d450e5540deedd5071b4c4b467dcf0ae82f299 (patch)
tree124c071dbea68d674caef29312a068e74913ebba /sway/desktop/output.c
parentSet WAYLAND_DISPLAY earlier in startup (diff)
downloadsway-00d450e5540deedd5071b4c4b467dcf0ae82f299.tar.gz
sway-00d450e5540deedd5071b4c4b467dcf0ae82f299.tar.zst
sway-00d450e5540deedd5071b4c4b467dcf0ae82f299.zip
Use output coords for layer surfaces
This will need to be more carefully thought out when we get the output_layout working entirely.
Diffstat (limited to 'sway/desktop/output.c')
-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,
187 wl_list_for_each(sway_layer, layer, link) { 187 wl_list_for_each(sway_layer, layer, link) {
188 struct wlr_layer_surface *layer = sway_layer->layer_surface; 188 struct wlr_layer_surface *layer = sway_layer->layer_surface;
189 render_surface(layer->surface, output->wlr_output, when, 189 render_surface(layer->surface, output->wlr_output, when,
190 sway_layer->geo.x + output_layout_box->x, 190 sway_layer->geo.x, sway_layer->geo.y, 0);
191 sway_layer->geo.y + output_layout_box->y, 0);
192 wlr_surface_send_frame_done(layer->surface, when); 191 wlr_surface_send_frame_done(layer->surface, when);
193 } 192 }
194} 193}