types/wlr_output_layout: use bitmask for wlr_direction
This commit is contained in:
parent
7c6e06fd13
commit
0fdb41fe7c
|
@ -124,10 +124,10 @@ struct wlr_output *wlr_output_layout_get_center_output(
|
|||
struct wlr_output_layout *layout);
|
||||
|
||||
enum wlr_direction {
|
||||
WLR_DIRECTION_UP = 1,
|
||||
WLR_DIRECTION_DOWN = 2,
|
||||
WLR_DIRECTION_LEFT = 4,
|
||||
WLR_DIRECTION_RIGHT = 8,
|
||||
WLR_DIRECTION_UP = 1 << 0,
|
||||
WLR_DIRECTION_DOWN = 1 << 1,
|
||||
WLR_DIRECTION_LEFT = 1 << 2,
|
||||
WLR_DIRECTION_RIGHT = 1 << 3,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue