diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-19 01:06:15 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-19 01:06:15 -0700 |
commit | c5a69828934bf07db9062bd5f24bb2ff94b45b4a (patch) | |
tree | 5d580fed19fa2aa25014fe234edc6db14cfaa652 /include/log.h | |
parent | fixed focus key handler (diff) | |
download | sway-c5a69828934bf07db9062bd5f24bb2ff94b45b4a.tar.gz sway-c5a69828934bf07db9062bd5f24bb2ff94b45b4a.tar.zst sway-c5a69828934bf07db9062bd5f24bb2ff94b45b4a.zip |
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |