diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/layout.h | 1 | ||||
-rw-r--r-- | include/log.h | 2 | ||||
-rw-r--r-- | include/workspace.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/include/layout.h b/include/layout.h index 282f92ee..98fdb531 100644 --- a/include/layout.h +++ b/include/layout.h | |||
@@ -10,6 +10,7 @@ extern swayc_t root_container; | |||
10 | void init_layout(void); | 10 | void init_layout(void); |
11 | 11 | ||
12 | void add_child(swayc_t *parent, swayc_t *child); | 12 | void add_child(swayc_t *parent, swayc_t *child); |
13 | void add_floating(swayc_t *ws, swayc_t *child); | ||
13 | // Returns parent container which needs to be rearranged. | 14 | // Returns parent container which needs to be rearranged. |
14 | swayc_t *add_sibling(swayc_t *sibling, swayc_t *child); | 15 | swayc_t *add_sibling(swayc_t *sibling, swayc_t *child); |
15 | swayc_t *replace_child(swayc_t *child, swayc_t *new_child); | 16 | swayc_t *replace_child(swayc_t *child, swayc_t *new_child); |
diff --git a/include/log.h b/include/log.h index 44f84940..7aea2ded 100644 --- a/include/log.h +++ b/include/log.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _SWAY_LOG_H | 1 | #ifndef _SWAY_LOG_H |
2 | #define _SWAY_LOG_H | 2 | #define _SWAY_LOG_H |
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include "container.h" | ||
4 | 5 | ||
5 | typedef enum { | 6 | typedef enum { |
6 | L_SILENT = 0, | 7 | L_SILENT = 0, |
@@ -15,4 +16,5 @@ void sway_log(int verbosity, const char* format, ...) __attribute__((format(prin | |||
15 | void sway_abort(const char* format, ...) __attribute__((format(printf,1,2))); | 16 | void sway_abort(const char* format, ...) __attribute__((format(printf,1,2))); |
16 | bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3))); | 17 | bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3))); |
17 | 18 | ||
19 | void layout_log(const swayc_t *c, int depth); | ||
18 | #endif | 20 | #endif |
diff --git a/include/workspace.h b/include/workspace.h index 8ce39bbd..042a15d9 100644 --- a/include/workspace.h +++ b/include/workspace.h | |||
@@ -15,6 +15,5 @@ void workspace_output_next(); | |||
15 | void workspace_next(); | 15 | void workspace_next(); |
16 | void workspace_output_prev(); | 16 | void workspace_output_prev(); |
17 | void workspace_prev(); | 17 | void workspace_prev(); |
18 | void layout_log(const swayc_t *c, int depth); | ||
19 | 18 | ||
20 | #endif | 19 | #endif |