diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 15:08:20 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 18:16:14 +0000 |
commit | 13d7fa2f03452ef5b1f34cdf7847476052532178 (patch) | |
tree | 838d8e8d62d472d8785d398b15e6d40db94dce9c /include/wlr | |
parent | 9a17200446952f67b10b7801a272b6abdd1ae8b3 (diff) |
types/wlr_switch: uniformize events name
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_switch.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_switch.h b/include/wlr/types/wlr_switch.h index 8e723032..e26c9a3f 100644 --- a/include/wlr/types/wlr_switch.h +++ b/include/wlr/types/wlr_switch.h @@ -28,17 +28,16 @@ struct wlr_switch { }; enum wlr_switch_type { - WLR_SWITCH_TYPE_LID = 1, + WLR_SWITCH_TYPE_LID, WLR_SWITCH_TYPE_TABLET_MODE, }; enum wlr_switch_state { WLR_SWITCH_STATE_OFF = 0, - WLR_SWITCH_STATE_ON + WLR_SWITCH_STATE_ON, }; -struct wlr_event_switch_toggle { - struct wlr_input_device *device; +struct wlr_switch_toggle_event { uint32_t time_msec; enum wlr_switch_type switch_type; enum wlr_switch_state switch_state; |