mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Implement resize command
This commit is contained in:
parent
21aedf1505
commit
f77986338f
6 changed files with 351 additions and 27 deletions
|
|
@ -13,6 +13,13 @@ enum movement_direction {
|
|||
MOVE_CHILD,
|
||||
};
|
||||
|
||||
enum resize_edge {
|
||||
RESIZE_EDGE_LEFT,
|
||||
RESIZE_EDGE_RIGHT,
|
||||
RESIZE_EDGE_TOP,
|
||||
RESIZE_EDGE_BOTTOM,
|
||||
};
|
||||
|
||||
struct sway_container;
|
||||
|
||||
struct sway_root {
|
||||
|
|
@ -63,4 +70,7 @@ struct sway_container *container_get_in_direction(struct sway_container
|
|||
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);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue