aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2022-02-26 18:25:19 +0100
committerSimon Ser <contact@emersion.fr>2022-03-08 13:45:10 +0000
commit4792446ee8f50104bd207d9ccd8558a7e4eb4514 (patch)
tree0b51cc717c483a23ac2c03317b0e3270a8286f90 /include
parentcfed039c9a353cff5d8c3c678d7eb272c887de77 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_switch.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_switch.h b/include/wlr/types/wlr_switch.h
index 31811ec3..8e723032 100644
--- a/include/wlr/types/wlr_switch.h
+++ b/include/wlr/types/wlr_switch.h
@@ -34,8 +34,7 @@ enum wlr_switch_type {
enum wlr_switch_state {
WLR_SWITCH_STATE_OFF = 0,
- WLR_SWITCH_STATE_ON,
- WLR_SWITCH_STATE_TOGGLE
+ WLR_SWITCH_STATE_ON
};
struct wlr_event_switch_toggle {