diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-01-30 20:51:57 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-01-30 20:51:57 -0500 |
commit | 8231f99c12b059bf762c2ca77258a520b3a6886f (patch) | |
tree | cf89847907e3db4ec077bccbeec9467ed3b5774c /include/sway/old/output.h | |
parent | a686fb07ae324cb122f7175941f0ef6c3cdd0cf4 (diff) |
Remove include/sway/old/
Diffstat (limited to 'include/sway/old/output.h')
-rw-r--r-- | include/sway/old/output.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/sway/old/output.h b/include/sway/old/output.h deleted file mode 100644 index 2a222238..00000000 --- a/include/sway/old/output.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef _SWAY_OUTPUT_H -#define _SWAY_OUTPUT_H -#include <time.h> -#include <wayland-server.h> -#include <wlr/types/wlr_output.h> -#include "container.h" -#include "focus.h" - -struct sway_server; - -struct sway_output { - struct wlr_output *wlr_output; - struct wl_listener frame; - struct sway_server *server; - struct timespec last_frame; -}; - -// Position is absolute coordinates on the edge where the adjacent output -// should be searched for. -swayc_t *output_by_name(const char* name, const struct wlc_point *abs_pos); -swayc_t *swayc_opposite_output(enum movement_direction dir, const struct wlc_point *abs_pos); -swayc_t *swayc_adjacent_output(swayc_t *output, enum movement_direction dir, const struct wlc_point *abs_pos, bool pick_closest); - -// Place absolute coordinates for given container into given wlc_point. -void get_absolute_position(swayc_t *container, struct wlc_point *point); - -// Place absolute coordinates for the center point of given container into -// given wlc_point. -void get_absolute_center_position(swayc_t *container, struct wlc_point *point); - -// stable sort workspaces on this output -void sort_workspaces(swayc_t *output); - -void output_get_scaled_size(wlc_handle handle, struct wlc_size *size); - -#endif |