Remove WLR_SWITCH_STATE_TOGGLE usage

Ref [1].

[1]: 4792446ee8
This commit is contained in:
Simon Ser 2022-03-08 16:24:27 +01:00 committed by Simon Zeni
parent 9f98c38d3e
commit 04676936e7
3 changed files with 26 additions and 8 deletions

View file

@ -70,12 +70,18 @@ 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 wlr_switch_state state;
enum sway_switch_trigger trigger;
uint32_t flags;
char *command;
};