This commit is contained in:
Ryan Dwyer 2018-10-29 23:28:23 +10:00
parent 1c2a356dcf
commit 791c216cb8
6 changed files with 450 additions and 0 deletions

View file

@ -97,6 +97,7 @@ struct cmd_results *add_color(const char *name,
void container_resize_tiled(struct sway_container *parent, enum wlr_edges edge,
int amount);
sway_cmd cmd_append_layout;
sway_cmd cmd_assign;
sway_cmd cmd_bar;
sway_cmd cmd_bindcode;

View file

@ -69,6 +69,7 @@ struct sway_container_state {
struct sway_container {
struct sway_node node;
struct sway_view *view;
list_t *swallow_criteria;
// The pending state is the main container properties, and the current state is in the below struct.
// This means most places of the code can refer to the main variables (pending state) and it'll just work.