aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Michael Weiser <michael.weiser@gmx.de>2020-01-25 19:27:03 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2022-05-11 10:19:27 +0200
commit7cfa1507881144445efd9752e18219dd5ec4a14b (patch)
tree24339eb998dee91f1f5a4d869b19e58ce44b0d35 /include
parentswaynag: combine consecutive declaration/assignments (diff)
downloadsway-7cfa1507881144445efd9752e18219dd5ec4a14b.tar.gz
sway-7cfa1507881144445efd9752e18219dd5ec4a14b.tar.zst
sway-7cfa1507881144445efd9752e18219dd5ec4a14b.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h10
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 {
48}; 48};
49 49
50/** 50/**
51 * A key binding and an associated command. 51 * A key (or mouse) binding and an associated command.
52 */ 52 */
53struct sway_binding { 53struct sway_binding {
54 enum binding_input_type type; 54 enum binding_input_type type;
@@ -62,14 +62,6 @@ struct sway_binding {
62 char *command; 62 char *command;
63}; 63};
64 64
65/**
66 * A mouse binding and an associated command.
67 */
68struct sway_mouse_binding {
69 uint32_t button;
70 char *command;
71};
72
73enum sway_switch_trigger { 65enum sway_switch_trigger {
74 SWAY_SWITCH_TRIGGER_OFF, 66 SWAY_SWITCH_TRIGGER_OFF,
75 SWAY_SWITCH_TRIGGER_ON, 67 SWAY_SWITCH_TRIGGER_ON,