From c794a4cc0ca6bf0e7c2dbc88408794433629508a Mon Sep 17 00:00:00 2001 From: Piotr Henryk Dabrowski Date: Tue, 20 Feb 2024 15:14:01 +0100 Subject: [PATCH] click, mousedown, mouseup: optional position arguments getmouselocation: optional --window argument --- cmd_click.c | 22 +++++++-- cmd_getmouselocation.c | 46 +++++++++++++---- cmd_mousedown.c | 21 ++++++-- cmd_mouseup.c | 20 ++++++-- xdo.c | 109 +++++++++++++++++++++++++++++++---------- xdo.h | 30 ++++++++++-- xdo_cmd.h | 2 + xdotool.c | 15 ++++++ 8 files changed, 212 insertions(+), 53 deletions(-) diff --git a/cmd_click.c b/cmd_click.c index fae0aaab..969235f3 100644 --- a/cmd_click.c +++ b/cmd_click.c @@ -26,7 +26,7 @@ int cmd_click(context_t *context) { { 0, 0, 0, 0 }, }; static const char *usage = - "Usage: %s [options]