aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Sebastian Parborg <darkdefende@gmail.com>2019-07-08 22:29:04 +0200
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-07-09 02:56:55 -0400
commit538b36c0e2f9f0bf64ef473789e2598ac7d1629f (patch)
tree1014b90ce73873ed0a4a1cf0e2d5c4612a1c691d /include/sway/tree/container.h
parentcalibration_matrix: expect 6 individual values (diff)
downloadsway-538b36c0e2f9f0bf64ef473789e2598ac7d1629f.tar.gz
sway-538b36c0e2f9f0bf64ef473789e2598ac7d1629f.tar.zst
sway-538b36c0e2f9f0bf64ef473789e2598ac7d1629f.zip
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.
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 8448d705..adeb85ae 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -326,6 +326,8 @@ void container_detach(struct sway_container *child);
326void container_replace(struct sway_container *container, 326void container_replace(struct sway_container *container,
327 struct sway_container *replacement); 327 struct sway_container *replacement);
328 328
329void container_swap(struct sway_container *con1, struct sway_container *con2);
330
329struct sway_container *container_split(struct sway_container *child, 331struct sway_container *container_split(struct sway_container *child,
330 enum sway_container_layout layout); 332 enum sway_container_layout layout);
331 333