aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-04-26 19:51:11 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-04-26 19:51:11 +1000
commitdaa1ee35be04c7fca5897e6f518561de25c36cdc (patch)
tree6c0cd2ce00f342f91fb6f2f8d10a8adf4132daf6
parentfecb971518675254c26757c279ff971985cd2d2d (diff)
Make WLR_DIRECTION enum powers of 2
-rw-r--r--include/wlr/types/wlr_output_layout.h4
1 files 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,
};
/**