diff options
Diffstat (limited to 'include/sway/output.h')
-rw-r--r-- | include/sway/output.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index e1bdd3f0..2a222238 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -1,9 +1,20 @@ | |||
1 | #ifndef _SWAY_OUTPUT_H | 1 | #ifndef _SWAY_OUTPUT_H |
2 | #define _SWAY_OUTPUT_H | 2 | #define _SWAY_OUTPUT_H |
3 | 3 | #include <time.h> | |
4 | #include <wayland-server.h> | ||
5 | #include <wlr/types/wlr_output.h> | ||
4 | #include "container.h" | 6 | #include "container.h" |
5 | #include "focus.h" | 7 | #include "focus.h" |
6 | 8 | ||
9 | struct sway_server; | ||
10 | |||
11 | struct sway_output { | ||
12 | struct wlr_output *wlr_output; | ||
13 | struct wl_listener frame; | ||
14 | struct sway_server *server; | ||
15 | struct timespec last_frame; | ||
16 | }; | ||
17 | |||
7 | // Position is absolute coordinates on the edge where the adjacent output | 18 | // Position is absolute coordinates on the edge where the adjacent output |
8 | // should be searched for. | 19 | // should be searched for. |
9 | swayc_t *output_by_name(const char* name, const struct wlc_point *abs_pos); | 20 | swayc_t *output_by_name(const char* name, const struct wlc_point *abs_pos); |