Skip to content

Commit a37e702

Browse files
committed
- 20090609 release
git-svn-id: https://semicomplete.googlecode.com/svn/xdotool@2194 66067f73-fe4c-0410-82e9-b9c6d0c95a22
1 parent 60bcd14 commit a37e702

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

CHANGELIST

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
20090609:
2+
* Add '--delay <delay_in_ms>' to xdotool type. Sets the delay between keys.
3+
* Add '--window <windowid>' to xdotool type, key, keyup, and keydown.
4+
This feature (key events with --window <windowid>) only works if the
5+
application does not reject X events that have 'send_event' set to true.
6+
7+
Special notes:
8+
* Firefox appears to ignore all input when it does not have focus.
9+
* xterm ignores sendevent by default, ctrl+leftclick menu will let you
10+
enable it.
11+
* gnome-terminal appears to accept send_event input by default
12+
13+
114
20090330:
215
* Fix bug where we use the wrong type in sizeof() for allocating character
316
code map.

COPYRIGHT

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
$Id$
2-
3-
Copyright (c) 2007, Jordan Sissel.
1+
Copyright (c) 2007, 2008, 2009: Jordan Sissel.
42
All rights reserved.
53

64
Redistribution and use in source and binary forms, with or without

xdotool.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,15 +347,15 @@ int cmd_key(int argc, char **args) {
347347
}
348348
}
349349

350+
argc -= optind;
351+
args += optind;
352+
350353
if (argc == 0) {
351354
fprintf(stderr, "usage: %s [--window windowid] <keyseq1> [keyseq2 ... keyseqN]\n", cmd);
352355
fprintf(stderr, "You specified the wrong number of args.\n");
353356
return 1;
354357
}
355358

356-
argc -= optind;
357-
args += optind;
358-
359359
int (*func)(xdo_t *, Window, char *) = NULL;
360360

361361
if (!strcmp(cmd, "key")) {

0 commit comments

Comments
 (0)