mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
move direction to wlr_output_layout.h
This commit is contained in:
parent
9933b7ad95
commit
9a8808f8cf
2 changed files with 7 additions and 12 deletions
|
@ -5,7 +5,6 @@
|
|||
#include <wayland-util.h>
|
||||
#include <wlr/types/wlr_box.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/util/direction.h>
|
||||
|
||||
struct wlr_output_layout_state;
|
||||
|
||||
|
@ -97,6 +96,13 @@ void wlr_output_layout_add_auto(struct wlr_output_layout *layout,
|
|||
struct wlr_output *wlr_output_layout_get_center_output(
|
||||
struct wlr_output_layout *layout);
|
||||
|
||||
enum wlr_direction {
|
||||
WLR_DIRECTION_UP = 0,
|
||||
WLR_DIRECTION_DOWN = 1,
|
||||
WLR_DIRECTION_LEFT = 2,
|
||||
WLR_DIRECTION_RIGHT = 4,
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the closest adjacent output to the reference output from the reference
|
||||
* point in the given direction.
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
#ifndef WLR_UTIL_DIRECTION_H
|
||||
#define WLR_UTIL_DIRECTION_H
|
||||
|
||||
enum wlr_direction {
|
||||
WLR_DIRECTION_UP = 0,
|
||||
WLR_DIRECTION_DOWN = 1,
|
||||
WLR_DIRECTION_LEFT = 2,
|
||||
WLR_DIRECTION_RIGHT = 4,
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue