From daa1ee35be04c7fca5897e6f518561de25c36cdc Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 26 Apr 2018 19:51:11 +1000 Subject: [PATCH] Make WLR_DIRECTION enum powers of 2 --- include/wlr/types/wlr_output_layout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h index a3e47e8d..759c8ccf 100644 --- a/include/wlr/types/wlr_output_layout.h +++ b/include/wlr/types/wlr_output_layout.h @@ -107,8 +107,8 @@ struct wlr_output *wlr_output_layout_get_center_output( enum wlr_direction { WLR_DIRECTION_UP = 1, WLR_DIRECTION_DOWN = 2, - WLR_DIRECTION_LEFT = 3, - WLR_DIRECTION_RIGHT = 4, + WLR_DIRECTION_LEFT = 4, + WLR_DIRECTION_RIGHT = 8, }; /**