summaryrefslogtreecommitdiff
path: root/include/sway/tree/layout.h
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-08-25 13:06:04 +1000
committerGitHub <[email protected]>2018-08-25 13:06:04 +1000
commit4b9ad9c2382db9b2a9a224e9ebc60b6298843aa9 (patch)
treef1ed7e866d4e34f5ef9b8f72ec8095369619aaa7 /include/sway/tree/layout.h
parentf51b9478f28143a4f1887711497ff131f26ab1c4 (diff)
parente86d99acd655815781cd2e23877ce58ab5b24826 (diff)
Merge branch 'master' into commands
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r--include/sway/tree/layout.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index 5b803dfe..519189d9 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -15,13 +15,7 @@ enum movement_direction {
MOVE_CHILD,
};
-enum resize_edge {
- RESIZE_EDGE_NONE = 0,
- RESIZE_EDGE_LEFT = 1,
- RESIZE_EDGE_RIGHT = 2,
- RESIZE_EDGE_TOP = 4,
- RESIZE_EDGE_BOTTOM = 8,
-};
+enum wlr_edges;
struct sway_container;
@@ -52,7 +46,7 @@ struct sway_container *container_split(struct sway_container *child,
enum sway_container_layout layout);
void container_recursive_resize(struct sway_container *container,
- double amount, enum resize_edge edge);
+ double amount, enum wlr_edges edge);
void container_swap(struct sway_container *con1, struct sway_container *con2);