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
This commit is contained in:
Ryan Dwyer 2018-09-12 08:46:46 +10:00
parent df95c61044
commit 679c7eb08c
4 changed files with 19 additions and 15 deletions

View file

@ -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);