mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
types/wlr_switch: uniformize events name
This commit is contained in:
parent
9a17200446
commit
13d7fa2f03
2 changed files with 4 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue