Make mouse drag in tiled mode swap containers if no edge is selected

Now the highlighted center area of containers triggers a swap action
instead of moving around the containers.
This commit is contained in:
Sebastian Parborg 2019-07-08 22:29:04 +02:00 committed by Brian Ashworth
parent c9cb5ced7f
commit 538b36c0e2
3 changed files with 18 additions and 9 deletions

View file

@ -326,6 +326,8 @@ void container_detach(struct sway_container *child);
void container_replace(struct sway_container *container,
struct sway_container *replacement);
void container_swap(struct sway_container *con1, struct sway_container *con2);
struct sway_container *container_split(struct sway_container *child,
enum sway_container_layout layout);