Skip to content

Commit

Permalink
remove comment of wait_for_window_focus()
Browse files Browse the repository at this point in the history
A bug was fixed in python-xdo that was preventing this from working.
  • Loading branch information
jrollins committed Jan 17, 2013
1 parent 0813a05 commit de1b0cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions assword
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,7 @@ def xsearch(args, method='xdo'):
if result:
if method == 'xdo':
x.focus_window(win)
# FIXME: it's unclear that the following call is
# necessary, but it seems to timeout after about 20
# seconds.
#x.wait_for_window_focus(win)
x.wait_for_window_focus(win)
x.type(result['password'])
elif method == 'xclip':
xclip(result['password'])
Expand Down

0 comments on commit de1b0cc

Please sign in to comment.