diff options
author | 2018-02-04 13:39:10 -0500 | |
---|---|---|
committer | 2018-02-04 14:08:54 -0500 | |
commit | 515150229847c9ebdfd0cabb6f0026fca9d57a23 (patch) | |
tree | 8a50ce0ac8ce4dc2ec973c63c68dc45378c50737 /include/sway/layout.h | |
parent | Implement workspaces (diff) | |
download | sway-515150229847c9ebdfd0cabb6f0026fca9d57a23.tar.gz sway-515150229847c9ebdfd0cabb6f0026fca9d57a23.tar.zst sway-515150229847c9ebdfd0cabb6f0026fca9d57a23.zip |
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 @@ | |||
2 | #define _SWAY_LAYOUT_H | 2 | #define _SWAY_LAYOUT_H |
3 | 3 | ||
4 | #include <wlr/types/wlr_output_layout.h> | 4 | #include <wlr/types/wlr_output_layout.h> |
5 | #include "sway/container.h" | ||
5 | 6 | ||
6 | struct sway_container; | 7 | struct sway_container; |
7 | 8 | ||
@@ -11,10 +12,15 @@ struct sway_root { | |||
11 | struct wl_listener output_layout_change; | 12 | struct wl_listener output_layout_change; |
12 | 13 | ||
13 | struct wl_list unmanaged_views; // sway_view::unmanaged_view_link | 14 | struct wl_list unmanaged_views; // sway_view::unmanaged_view_link |
15 | |||
16 | struct { | ||
17 | struct wl_signal new_container; | ||
18 | } events; | ||
14 | }; | 19 | }; |
15 | 20 | ||
16 | void init_layout(void); | 21 | void init_layout(void); |
17 | void add_child(struct sway_container *parent, struct sway_container *child); | 22 | void add_child(struct sway_container *parent, struct sway_container *child); |
23 | swayc_t *add_sibling(swayc_t *parent, swayc_t *child); | ||
18 | struct sway_container *remove_child(struct sway_container *child); | 24 | struct sway_container *remove_child(struct sway_container *child); |
19 | enum swayc_layouts default_layout(struct sway_container *output); | 25 | enum swayc_layouts default_layout(struct sway_container *output); |
20 | void sort_workspaces(struct sway_container *output); | 26 | void sort_workspaces(struct sway_container *output); |