diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-26 11:49:41 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-01-03 20:15:55 +0000 |
commit | e93ecc669c8ba4418200dcdc4478ae0cb213a469 (patch) | |
tree | 02f465806611612c729494504cf74b4084fdb6f4 /include | |
parent | bc8260f377b5d1b254cbd3b0eacf5e51aeb005e5 (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
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_tablet_tool.h | 4 |
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 { |