From 679c7eb08c16daea8e3e1cff7bcf179e116d0e8e Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Wed, 12 Sep 2018 08:46:46 +1000 Subject: Minor fixes to tiling drag implementation * Make container_add_sibling's `after` argument a boolean. * Use a constant for drop layout border * Make thickness an int * Add button state check * Move comments in seat_end_move_tiling --- include/sway/tree/container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 94d30ced..5e281a2f 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -283,7 +283,7 @@ void container_insert_child(struct sway_container *parent, * Side should be 0 to add before, or 1 to add after. */ void container_add_sibling(struct sway_container *parent, - struct sway_container *child, int side); + struct sway_container *child, bool after); void container_detach(struct sway_container *child); -- cgit v1.2.3-54-g00ecf