Skip to content

Commit

Permalink
bugfix click_mouse for direction=up
Browse files Browse the repository at this point in the history
  • Loading branch information
mzizzi committed Mar 12, 2016
1 parent 1d8c026 commit 672f0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/linux_x11/x11_libxdo.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def click_mouse(self, button, direction='click', count=1, count_delay=None):
elif direction == 'down':
self.libxdo.mouse_down(0, button)
elif direction == 'up':
self.libxdo.mouse_up(0, direction)
self.libxdo.mouse_up(0, button)
else:
raise ValueError(
'invalid "direction" parameter: "%s"' % direction)
Expand Down

0 comments on commit 672f0fb

Please sign in to comment.