Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action "Turn monitor on" shifts cursor #410

Open
maffe opened this issue Aug 12, 2020 · 1 comment · May be fixed by #411
Open

Action "Turn monitor on" shifts cursor #410

maffe opened this issue Aug 12, 2020 · 1 comment · May be fixed by #411

Comments

@maffe
Copy link

maffe commented Aug 12, 2020

ctypes.windll.user32.mouse_event(MOUSEEVENTF_MOVE, 0, 1, 0, 0)

I see why this is done, but please move my cursor back :-) I had this action triggered multiple times and it moved the cursor away from the position I remembered, the following blind click did something unintended :(

@kdschlosser
Copy link
Member

fair enough. Never thought that the mouse moving a single pixel would cause a problem. But here it is.. I am sorry for any issues you had because of this. You are more then welcome to make the changes needed and submit a pull request for the changes made. I would appreciate you doing that. I like to keep a record of the prople who have spent the time to locate a big and find a solution.

maffe added a commit to maffe/EventGhost that referenced this issue Aug 13, 2020
@maffe maffe linked a pull request Aug 13, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants