diff options
author | Tony Crisci <[email protected]> | 2018-02-04 13:39:10 -0500 |
---|---|---|
committer | Tony Crisci <[email protected]> | 2018-02-04 14:08:54 -0500 |
commit | 515150229847c9ebdfd0cabb6f0026fca9d57a23 (patch) | |
tree | 8a50ce0ac8ce4dc2ec973c63c68dc45378c50737 /include/sway/layout.h | |
parent | b28602aa7425cf435150e6008624429737e037d3 (diff) |
basic focus overhaul
Diffstat (limited to 'include/sway/layout.h')
-rw-r--r-- | include/sway/layout.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h index af561453..69a66674 100644 --- a/include/sway/layout.h +++ b/include/sway/layout.h @@ -2,6 +2,7 @@ #define _SWAY_LAYOUT_H #include <wlr/types/wlr_output_layout.h> +#include "sway/container.h" struct sway_container; @@ -11,10 +12,15 @@ struct sway_root { struct wl_listener output_layout_change; struct wl_list unmanaged_views; // sway_view::unmanaged_view_link + + struct { + struct wl_signal new_container; + } events; }; void init_layout(void); void add_child(struct sway_container *parent, struct sway_container *child); +swayc_t *add_sibling(swayc_t *parent, swayc_t *child); struct sway_container *remove_child(struct sway_container *child); enum swayc_layouts default_layout(struct sway_container *output); void sort_workspaces(struct sway_container *output); |