diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2020-01-25 19:27:03 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2020-01-25 19:27:03 +0100 |
| commit | bfa254a2d8671a691beb2f44b7afc41e0ccb4512 (patch) | |
| tree | 24339eb998dee91f1f5a4d869b19e58ce44b0d35 | |
| parent | 680aaf5c318f30294ec456cc7a94b3a8d8ab58b4 (diff) | |
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>
| -rw-r--r-- | include/sway/config.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 538930f2..2e24c3ae 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -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 { enum binding_input_type type; @@ -62,14 +62,6 @@ struct sway_binding { char *command; }; -/** - * A mouse binding and an associated command. - */ -struct sway_mouse_binding { - uint32_t button; - char *command; -}; - enum sway_switch_trigger { SWAY_SWITCH_TRIGGER_OFF, SWAY_SWITCH_TRIGGER_ON, |
