Package: xdotool Followup-For: Bug #850257 Hi,
this seems to be intended behaviour. Quoting what I just wrote on Github: This got introduced in 8e4218c and it seems to be on purpose. You probably want something like xdotool getactivewindow type. Quoting man xdotool: | In all cases, the default window argument, if omitted, will default to "%1". | It is obviously an error if you omit the window argument and the window stack | is empty. If you try to use the window stack and it is empty, it is also an | error. https://github.com/jordansissel/xdotool/issues/156 Cheers Jochen