diff options
author | Drew DeVault <[email protected]> | 2015-10-25 08:58:34 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-10-25 08:58:34 -0400 |
commit | eb847a1b1ce122f6621de0fb76e381bf0d10b317 (patch) | |
tree | a72bb20cd5dcdf6f328e6f5cfbd9da870fd82027 /include | |
parent | 010368150bf814a05e35d8fe34cf20c4739c5781 (diff) | |
parent | 83ca7d3a5ccc3943de80cd07bd52e7005b13ab75 (diff) |
Merge pull request #204 from sce/misc_stuff
Misc stuff
Diffstat (limited to 'include')
-rw-r--r-- | include/log.h | 2 | ||||
-rw-r--r-- | include/output.h | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index f8deaf26..806725a6 100644 --- a/include/log.h +++ b/include/log.h @@ -23,4 +23,6 @@ bool _sway_assert(bool condition, const char* format, ...) __attribute__((format void error_handler(int sig); void layout_log(const swayc_t *c, int depth); +const char *swayc_type_string(enum swayc_types type); +void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4))); #endif diff --git a/include/output.h b/include/output.h new file mode 100644 index 00000000..10ff0596 --- /dev/null +++ b/include/output.h @@ -0,0 +1,10 @@ +#ifndef _SWAY_OUTPUT_H +#define _SWAY_OUTPUT_H + +#include "container.h" +#include "focus.h" + +swayc_t *output_by_name(const char* name); +swayc_t *swayc_adjacent_output(swayc_t *output, enum movement_direction dir); + +#endif |