aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-08-20 22:56:43 -0400
committerGitHub <noreply@github.com>2018-08-20 22:56:43 -0400
commit395ff7a541bccceba1e1f0fc834236b8f1f55d81 (patch)
tree281c34175df99f106ddede83f4291d4e70567980 /include/sway
parent389610795b9ceff18f563b73e007b1b54d58bbb2 (diff)
parentf129b1b89fe0726f00a54f4c4857a7a8c5fab220 (diff)
Merge pull request #2503 from RyanDwyer/use-wlr-edges
Replace enum resize_edge with wlr_edges
Diffstat (limited to 'include/sway')
-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);