aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output_layout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h
index cdbc446f..51c1e4ca 100644
--- a/include/wlr/types/wlr_output_layout.h
+++ b/include/wlr/types/wlr_output_layout.h
@@ -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,
};
/**