wlr_switch: remove WLR_SWITCH_STATE_TOGGLE

This was originally added in 810c7b7 for use in rootston's input config
handling. It has never actually been part of the wlroots API and
shouldn't exist.
This commit is contained in:
Isaac Freund 2022-02-26 18:25:19 +01:00 committed by Simon Ser
parent cfed039c9a
commit 4792446ee8

View file

@ -34,8 +34,7 @@ enum wlr_switch_type {
enum wlr_switch_state { enum wlr_switch_state {
WLR_SWITCH_STATE_OFF = 0, WLR_SWITCH_STATE_OFF = 0,
WLR_SWITCH_STATE_ON, WLR_SWITCH_STATE_ON
WLR_SWITCH_STATE_TOGGLE
}; };
struct wlr_event_switch_toggle { struct wlr_event_switch_toggle {