summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-10-25 08:58:34 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-10-25 08:58:34 -0400
commiteb847a1b1ce122f6621de0fb76e381bf0d10b317 (patch)
treea72bb20cd5dcdf6f328e6f5cfbd9da870fd82027 /include
parentUpdate set_origin to match wlc changes (diff)
parentoutput: Fix code style. (diff)
downloadsway-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.h2
-rw-r--r--include/output.h10
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
23void error_handler(int sig); 23void error_handler(int sig);
24 24
25void layout_log(const swayc_t *c, int depth); 25void layout_log(const swayc_t *c, int depth);
26const char *swayc_type_string(enum swayc_types type);
27void 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
7swayc_t *output_by_name(const char* name);
8swayc_t *swayc_adjacent_output(swayc_t *output, enum movement_direction dir);
9
10#endif