aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_move_tiling.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2019-03-11 11:45:01 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-11 12:43:01 -0400
commit076257a978ce5f93b9b1613e43a067e602b5b041 (patch)
treef87dcb88bee0097cbf741df180f17d06299087cf /sway/input/seatop_move_tiling.c
parentFix size_t temporary underflow in log_loaded_themes (diff)
downloadsway-076257a978ce5f93b9b1613e43a067e602b5b041.tar.gz
sway-076257a978ce5f93b9b1613e43a067e602b5b041.tar.zst
sway-076257a978ce5f93b9b1613e43a067e602b5b041.zip
Stop using wlr_output->{lx,ly}
Also fixes sway_output->{lx,ly,width,height} not being updated. Also fixes output_get_in_direction adding buffer coords to layout coords.
Diffstat (limited to 'sway/input/seatop_move_tiling.c')
-rw-r--r--sway/input/seatop_move_tiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c
index 4b5aa81e..2904792b 100644
--- a/sway/input/seatop_move_tiling.c
+++ b/sway/input/seatop_move_tiling.c
@@ -37,7 +37,7 @@ static void handle_render(struct sway_seat *seat,
37 struct wlr_box box; 37 struct wlr_box box;
38 memcpy(&box, &e->drop_box, sizeof(struct wlr_box)); 38 memcpy(&box, &e->drop_box, sizeof(struct wlr_box));
39 scale_box(&box, output->wlr_output->scale); 39 scale_box(&box, output->wlr_output->scale);
40 render_rect(output->wlr_output, damage, &box, color); 40 render_rect(output, damage, &box, color);
41 } 41 }
42} 42}
43 43