diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-19 07:14:03 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-19 07:14:03 -0400 |
commit | 8fb2e7e34e279a005a4d42e224f71f9b35ddf918 (patch) | |
tree | a04cc657974f755360c5102a88c908a5160f61cd /include | |
parent | ae367c5af496828cf326f55597db26fcbfefe6d0 (diff) | |
parent | c5a69828934bf07db9062bd5f24bb2ff94b45b4a (diff) |
Merge pull request #79 from taiyu-len/master
fixed floating_modifier related things
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; void init_layout(void); void add_child(swayc_t *parent, swayc_t *child); +void add_floating(swayc_t *ws, swayc_t *child); // Returns parent container which needs to be rearranged. swayc_t *add_sibling(swayc_t *sibling, swayc_t *child); 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 @@ #ifndef _SWAY_LOG_H #define _SWAY_LOG_H #include <stdbool.h> +#include "container.h" typedef enum { L_SILENT = 0, @@ -15,4 +16,5 @@ void sway_log(int verbosity, const char* format, ...) __attribute__((format(prin void sway_abort(const char* format, ...) __attribute__((format(printf,1,2))); bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3))); +void layout_log(const swayc_t *c, int depth); #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(); void workspace_next(); void workspace_output_prev(); void workspace_prev(); -void layout_log(const swayc_t *c, int depth); #endif |