aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-09-12 08:46:46 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-09-12 08:46:46 +1000
commit679c7eb08c16daea8e3e1cff7bcf179e116d0e8e (patch)
tree82daa71d644f15c2e1e58ca9bdb2d4e1a75d3be9 /include/sway/tree
parentdf95c61044c37b511922db03eb5bd868b374e9d4 (diff)
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
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h2
1 files changed, 1 insertions, 1 deletions
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);