From 4e302fb40201eda36b4dc53f59535f01256d25ef Mon Sep 17 00:00:00 2001 From: Michael Weiser Date: Sat, 25 Jan 2020 19:27:03 +0100 Subject: [PATCH] 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 --- include/sway/config.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/sway/config.h b/include/sway/config.h index b8327e9cc..b90f6cafb 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -47,7 +47,7 @@ enum binding_flags { }; /** - * A key binding and an associated command. + * A key (or mouse) binding and an associated command. */ struct sway_binding { enum binding_input_type type; @@ -61,14 +61,6 @@ struct sway_binding { char *command; }; -/** - * A mouse binding and an associated command. - */ -struct sway_mouse_binding { - uint32_t button; - char *command; -}; - /** * A laptop switch binding and an associated command. */