From bf58fb18792aa14e3bb729bf395e6f838998cdc5 Mon Sep 17 00:00:00 2001 From: Emily Ellis Date: Sun, 16 Oct 2022 16:35:58 -0400 Subject: [PATCH] rename --aftermodifiers to --afterkeys and make it look at all keys --- cmd_click.c | 16 +++++++------- cmd_key.c | 12 +++++----- cmd_mousedown.c | 12 +++++----- cmd_mousemove.c | 16 +++++++------- cmd_mousemove_relative.c | 14 ++++++------ cmd_mouseup.c | 12 +++++----- cmd_type.c | 16 +++++++------- xdo.c | 47 +++++++++++++++++++--------------------- xdo.h | 2 +- xdotool.pod | 40 +++++++++++++++++----------------- 10 files changed, 92 insertions(+), 95 deletions(-) diff --git a/cmd_click.c b/cmd_click.c index da590f6..7f5c091 100644 --- a/cmd_click.c +++ b/cmd_click.c @@ -6,7 +6,7 @@ int cmd_click(context_t *context) { char *cmd = context->argv[0]; int ret = 0; int clear_modifiers = 0; - int after_modifiers = 0; + int after_keys = 0; charcodemap_t *active_mods = NULL; int active_mods_n; char *window_arg = NULL; @@ -15,12 +15,12 @@ int cmd_click(context_t *context) { int c; enum { - opt_unused, opt_help, opt_clearmodifiers, opt_aftermodifiers, 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 }, - { "aftermodifiers", no_argument, NULL, opt_aftermodifiers }, + { "afterkeys", no_argument, NULL, opt_afterkeys }, { "help", no_argument, NULL, opt_help }, { "window", required_argument, NULL, opt_window }, { "delay", required_argument, NULL, opt_delay }, @@ -30,7 +30,7 @@ int cmd_click(context_t *context) { static const char *usage = "Usage: %s [options]