mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-23 05:15:58 +01:00
types/wlr_output_layout: use bitmask for wlr_direction
This commit is contained in:
parent
7c6e06fd13
commit
0fdb41fe7c
1 changed files with 4 additions and 4 deletions
|
@ -124,10 +124,10 @@ 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 = 1,
|
WLR_DIRECTION_UP = 1 << 0,
|
||||||
WLR_DIRECTION_DOWN = 2,
|
WLR_DIRECTION_DOWN = 1 << 1,
|
||||||
WLR_DIRECTION_LEFT = 4,
|
WLR_DIRECTION_LEFT = 1 << 2,
|
||||||
WLR_DIRECTION_RIGHT = 8,
|
WLR_DIRECTION_RIGHT = 1 << 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue