summaryrefslogtreecommitdiffstats
path: root/include/output.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/output.h')
-rw-r--r--include/output.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/output.h b/include/output.h
index 10ff0596..1307ead8 100644
--- a/include/output.h
+++ b/include/output.h
@@ -4,7 +4,16 @@
4#include "container.h" 4#include "container.h"
5#include "focus.h" 5#include "focus.h"
6 6
7swayc_t *output_by_name(const char* name); 7// Position is absolute coordinates on the edge where the adjacent output
8swayc_t *swayc_adjacent_output(swayc_t *output, enum movement_direction dir); 8// should be searched for.
9swayc_t *output_by_name(const char* name, const struct wlc_point *abs_pos);
10swayc_t *swayc_adjacent_output(swayc_t *output, enum movement_direction dir, const struct wlc_point *abs_pos, bool pick_closest);
11
12// Place absolute coordinates for given container into given wlc_point.
13void get_absolute_position(swayc_t *container, struct wlc_point *point);
14
15// Place absolute coordinates for the center point of given container into
16// given wlc_point.
17void get_absolute_center_position(swayc_t *container, struct wlc_point *point);
9 18
10#endif 19#endif