<div dir="ltr">Hi all,<div><br></div><div>After using pass and passmenu for some time, my problem is that if the gpg pinentry window pops up sometimes other programs can steal focus upon the closing of that window. This pull request adds the following:</div><div><ol><li>An option to reactivate the currently active window with the -a or --activate option</li><li>A -t shortcut for the --type option and also the handling of -at or -ta</li><li>A check for the existence of xdotool</li><li>Return codes for failure:</li><ol><li>Cancelled selection (1)</li><li>xdotool not found in path and it is required by a option (2)</li></ol></ol><div>As I'm using gmail I couldn't find a way to insert the patch without loosing the spaces, so I attached it. Hope it is okay and this can help to someone else too.</div></div></div>