From e93ecc669c8ba4418200dcdc4478ae0cb213a469 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 26 Dec 2022 11:49:41 +0100 Subject: [PATCH] tablet-tool: revert bitfield in enum wlr_tablet_tool_tip_state This was changed to a bitfield by mistake. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3484#note_1697926 --- include/wlr/types/wlr_tablet_tool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index 495c7094..41d637f0 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -123,8 +123,8 @@ struct wlr_tablet_tool_proximity_event { }; enum wlr_tablet_tool_tip_state { - WLR_TABLET_TOOL_TIP_UP = 1 << 0, - WLR_TABLET_TOOL_TIP_DOWN = 1 << 1, + WLR_TABLET_TOOL_TIP_UP, + WLR_TABLET_TOOL_TIP_DOWN, }; struct wlr_tablet_tool_tip_event {