aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-05 22:55:51 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-05 22:55:51 -0400
commita74268dfabd7e99f83b4c94cb575e2f1423230fe (patch)
tree5679f4834eb4ee6a54e440e3b10f5864245d4544
parent254d0df3b2123344d6e4cbd89d779d1a492e0b1c (diff)
downloadsway-a74268dfabd7e99f83b4c94cb575e2f1423230fe.tar.xz
Add TODO so I don't forget later
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 82571c83..a89290a9 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -49,6 +49,7 @@ int cmd_bindsym(struct sway_config *config, int argc, char **argv) {
}
list_free(split);
+ // TODO: Check if there are other commands with this key binding
list_add(config->current_mode->bindings, binding);
fprintf(stderr, "bindsym - Bound %s to command %s\n", argv[0], binding->command);