diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-19 17:55:16 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-19 17:55:16 -0500 |
commit | b88f06e70a62722e70855772dcfa5b20b3a10291 (patch) | |
tree | 1e57c24777f3ab453e7dcdd4aea94dc0667cbd90 /sway/desktop | |
parent | 359bab38e27276654c66fcd499fc0362086a8f00 (diff) | |
download | sway-b88f06e70a62722e70855772dcfa5b20b3a10291.tar.xz |
bugfix: get right layout box for rendering views
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index a3d9efd8..039aba25 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -51,7 +51,7 @@ static void render_surface(struct wlr_surface *surface, // FIXME: view coords are inconsistently assumed to be in output or layout coords struct wlr_box layout_box = { - .x = lx + owidth, .y = ly + oheight, + .x = lx + wlr_output->lx, .y = ly + wlr_output->ly, .width = render_width, .height = render_height, }; if (wlr_output_layout_intersects(layout, wlr_output, &layout_box)) { |