config: Remove unused mouse binding structure

Mouse bindings are handled alongside normal bindings. Remove the unused
separate data structure definition to avoid confusion.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
This commit is contained in:
Michael Weiser 2020-01-25 19:27:03 +01:00 committed by Simon Ser
parent c85d9af2b6
commit 7cfa150788

View file

@ -48,7 +48,7 @@ enum binding_flags {
}; };
/** /**
* A key binding and an associated command. * A key (or mouse) binding and an associated command.
*/ */
struct sway_binding { struct sway_binding {
enum binding_input_type type; enum binding_input_type type;
@ -62,14 +62,6 @@ struct sway_binding {
char *command; char *command;
}; };
/**
* A mouse binding and an associated command.
*/
struct sway_mouse_binding {
uint32_t button;
char *command;
};
enum sway_switch_trigger { enum sway_switch_trigger {
SWAY_SWITCH_TRIGGER_OFF, SWAY_SWITCH_TRIGGER_OFF,
SWAY_SWITCH_TRIGGER_ON, SWAY_SWITCH_TRIGGER_ON,