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

click, mousedown, mouseup: optional position arguments #450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phd
Copy link

@phd phd commented Feb 20, 2024

click, mousedown, mouseup: optional position arguments

Usage: %s [options] <button> [<x> <y>]

With x and y specified the event is dispatched in given position
(relative to WINDOW if specified) without moving the mouse pointer.

getmouselocation: optional --window argument

--window <windowid>    - get mouse location relative to window

@phd phd changed the title click, mousedown, mouseup: optional position arguments click, mousedown, mouseup: optional position arguments Feb 20, 2024
getmouselocation: optional --window argument
@jordansissel
Copy link
Owner

jordansissel commented Oct 16, 2024

Interesting idea! Can you tell me more what you are trying to do? What is gained by not moving the X pointer itself?

@phd
Copy link
Author

phd commented Oct 18, 2024

Interesting idea! Can you tell me more what you are trying to do? What is gained by not moving the X pointer itself?

I'm trying to send mouse events to a window in the background.
I do not want mouse cursor to actually move and interrupt what I'm doing in the foreground application.

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 this pull request may close these issues.

2 participants