mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Replace enum resize_edge with wlr_edges
This commit is contained in:
parent
389610795b
commit
f129b1b89f
4 changed files with 11 additions and 16 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue