diff --git a/cmd_click.c b/cmd_click.c index fae0aaa..7f5c091 100644 --- a/cmd_click.c +++ b/cmd_click.c @@ -6,6 +6,7 @@ int cmd_click(context_t *context) { char *cmd = context->argv[0]; int ret = 0; int clear_modifiers = 0; + int after_keys = 0; charcodemap_t *active_mods = NULL; int active_mods_n; char *window_arg = NULL; @@ -14,11 +15,12 @@ int cmd_click(context_t *context) { int c; enum { - opt_unused, opt_help, opt_clearmodifiers, opt_window, opt_delay, + opt_unused, opt_help, opt_clearmodifiers, opt_afterkeys, opt_window, opt_delay, opt_repeat }; static struct option longopts[] = { { "clearmodifiers", no_argument, NULL, opt_clearmodifiers }, + { "afterkeys", no_argument, NULL, opt_afterkeys }, { "help", no_argument, NULL, opt_help }, { "window", required_argument, NULL, opt_window }, { "delay", required_argument, NULL, opt_delay }, @@ -27,7 +29,8 @@ int cmd_click(context_t *context) { }; static const char *usage = "Usage: %s [options]