sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 00d450e5540deedd5071b4c4b467dcf0ae82f299
parent d6acb3d86cf0842bff81da1ec2bc990ae84ed85b
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 30 Mar 2018 00:16:18 -0400

Use output coords for layer surfaces

This will need to be more carefully thought out when we get the
output_layout working entirely.

Diffstat:
Msway/desktop/output.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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); } }