You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
880 B
25 lines
880 B
9 years ago
|
#ifndef _SWAY_OUTPUT_H
|
||
|
#define _SWAY_OUTPUT_H
|
||
|
|
||
|
#include "container.h"
|
||
|
#include "focus.h"
|
||
|
|
||
9 years ago
|
// 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_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);
|
||
9 years ago
|
|
||
9 years ago
|
// stable sort workspaces on this output
|
||
9 years ago
|
void sort_workspaces(swayc_t *output);
|
||
|
|
||
9 years ago
|
void output_get_scaled_size(wlc_handle handle, struct wlc_size *size);
|
||
|
|
||
9 years ago
|
#endif
|