aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-12 08:46:46 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-12 08:46:46 +1000
commit679c7eb08c16daea8e3e1cff7bcf179e116d0e8e (patch)
tree82daa71d644f15c2e1e58ca9bdb2d4e1a75d3be9 /include/sway/tree/container.h
parentFix crash in workspace_wrap_children (diff)
downloadsway-679c7eb08c16daea8e3e1cff7bcf179e116d0e8e.tar.gz
sway-679c7eb08c16daea8e3e1cff7bcf179e116d0e8e.tar.zst
sway-679c7eb08c16daea8e3e1cff7bcf179e116d0e8e.zip
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/container.h')
-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,
283 * Side should be 0 to add before, or 1 to add after. 283 * Side should be 0 to add before, or 1 to add after.
284 */ 284 */
285void container_add_sibling(struct sway_container *parent, 285void container_add_sibling(struct sway_container *parent,
286 struct sway_container *child, int side); 286 struct sway_container *child, bool after);
287 287
288void container_detach(struct sway_container *child); 288void container_detach(struct sway_container *child);
289 289