aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-26 11:49:41 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-01-03 20:15:55 +0000
commite93ecc669c8ba4418200dcdc4478ae0cb213a469 (patch)
tree02f465806611612c729494504cf74b4084fdb6f4
parentbc8260f377b5d1b254cbd3b0eacf5e51aeb005e5 (diff)
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
-rw-r--r--include/wlr/types/wlr_tablet_tool.h4
1 files 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 {