Make WLR_DIRECTION enum powers of 2

This commit is contained in:
Ryan Dwyer 2018-04-26 19:51:11 +10:00
parent fecb971518
commit daa1ee35be
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ struct wlr_output *wlr_output_layout_get_center_output(
enum wlr_direction { enum wlr_direction {
WLR_DIRECTION_UP = 1, WLR_DIRECTION_UP = 1,
WLR_DIRECTION_DOWN = 2, WLR_DIRECTION_DOWN = 2,
WLR_DIRECTION_LEFT = 3, WLR_DIRECTION_LEFT = 4,
WLR_DIRECTION_RIGHT = 4, WLR_DIRECTION_RIGHT = 8,
}; };
/** /**