mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 05:55:58 +01:00
Fix WLR_DIRECTION enums.
Having 0 as an enum value causes wlr_output_layout_adjacent_output() to never match WLR_DIRECTION_UP.
This commit is contained in:
parent
31857c9ed4
commit
de97f90246
1 changed files with 3 additions and 3 deletions
|
@ -105,9 +105,9 @@ struct wlr_output *wlr_output_layout_get_center_output(
|
||||||
struct wlr_output_layout *layout);
|
struct wlr_output_layout *layout);
|
||||||
|
|
||||||
enum wlr_direction {
|
enum wlr_direction {
|
||||||
WLR_DIRECTION_UP = 0,
|
WLR_DIRECTION_UP = 1,
|
||||||
WLR_DIRECTION_DOWN = 1,
|
WLR_DIRECTION_DOWN = 2,
|
||||||
WLR_DIRECTION_LEFT = 2,
|
WLR_DIRECTION_LEFT = 3,
|
||||||
WLR_DIRECTION_RIGHT = 4,
|
WLR_DIRECTION_RIGHT = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue