From 4792446ee8f50104bd207d9ccd8558a7e4eb4514 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 26 Feb 2022 18:25:19 +0100 Subject: [PATCH] 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. --- include/wlr/types/wlr_switch.h | 3 +-- 1 file changed, 1 insertion(+), 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 {