summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 538930f2..fda0e83f 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -70,18 +70,12 @@ struct sway_mouse_binding {
char *command;
};
-enum sway_switch_trigger {
- SWAY_SWITCH_TRIGGER_OFF,
- SWAY_SWITCH_TRIGGER_ON,
- SWAY_SWITCH_TRIGGER_TOGGLE,
-};
-
/**
* A laptop switch binding and an associated command.
*/
struct sway_switch_binding {
enum wlr_switch_type type;
- enum sway_switch_trigger trigger;
+ enum wlr_switch_state state;
uint32_t flags;
char *command;
};