mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Merge branch 'wlroots' into split-containers
This commit is contained in:
commit
2187684bd0
13 changed files with 276 additions and 42 deletions
|
|
@ -11,9 +11,6 @@ enum movement_direction {
|
|||
MOVE_DOWN,
|
||||
MOVE_PARENT,
|
||||
MOVE_CHILD,
|
||||
MOVE_NEXT,
|
||||
MOVE_PREV,
|
||||
MOVE_FIRST
|
||||
};
|
||||
|
||||
struct sway_container;
|
||||
|
|
@ -33,7 +30,8 @@ struct sway_root {
|
|||
void layout_init(void);
|
||||
|
||||
// TODO move to tree.h
|
||||
void container_add_child(struct sway_container *parent, struct sway_container *child);
|
||||
void container_add_child(struct sway_container *parent,
|
||||
struct sway_container *child);
|
||||
|
||||
// TODO move to tree.h
|
||||
struct sway_container *container_add_sibling(struct sway_container *parent,
|
||||
|
|
@ -49,8 +47,12 @@ struct sway_container *container_reap_empty(struct sway_container *container);
|
|||
void container_move_to(struct sway_container* container,
|
||||
struct sway_container* destination);
|
||||
|
||||
void container_move(struct sway_container *container,
|
||||
enum movement_direction dir, int move_amt);
|
||||
|
||||
// TODO move to output.c
|
||||
enum sway_container_layout container_get_default_layout(struct sway_container *output);
|
||||
enum sway_container_layout container_get_default_layout(
|
||||
struct sway_container *output);
|
||||
|
||||
// TODO move to output.c
|
||||
void container_sort_workspaces(struct sway_container *output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue