Wrap to fartherest output when running focus output

Also moves the `opposite_direction` function into `util.c` as it's used
in two places now.
This commit is contained in:
Ryan Dwyer 2018-11-01 08:29:45 +10:00
parent f841d2ed74
commit bf19f63a79
4 changed files with 29 additions and 13 deletions

View file

@ -59,4 +59,6 @@ uint32_t parse_color(const char *color);
*/
bool parse_boolean(const char *boolean, bool current);
enum wlr_direction opposite_direction(enum wlr_direction d);
#endif