diff options
author | 2015-10-25 08:58:34 -0400 | |
---|---|---|
committer | 2015-10-25 08:58:34 -0400 | |
commit | eb847a1b1ce122f6621de0fb76e381bf0d10b317 (patch) | |
tree | a72bb20cd5dcdf6f328e6f5cfbd9da870fd82027 /include | |
parent | Update set_origin to match wlc changes (diff) | |
parent | output: Fix code style. (diff) | |
download | sway-eb847a1b1ce122f6621de0fb76e381bf0d10b317.tar.gz sway-eb847a1b1ce122f6621de0fb76e381bf0d10b317.tar.zst sway-eb847a1b1ce122f6621de0fb76e381bf0d10b317.zip |
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 | |||
23 | void error_handler(int sig); | 23 | void error_handler(int sig); |
24 | 24 | ||
25 | void layout_log(const swayc_t *c, int depth); | 25 | void layout_log(const swayc_t *c, int depth); |
26 | const char *swayc_type_string(enum swayc_types type); | ||
27 | void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4))); | ||
26 | #endif | 28 | #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 @@ | |||
1 | #ifndef _SWAY_OUTPUT_H | ||
2 | #define _SWAY_OUTPUT_H | ||
3 | |||
4 | #include "container.h" | ||
5 | #include "focus.h" | ||
6 | |||
7 | swayc_t *output_by_name(const char* name); | ||
8 | swayc_t *swayc_adjacent_output(swayc_t *output, enum movement_direction dir); | ||
9 | |||
10 | #endif | ||