Skip to content

Adjust OS X MouseMove handling to use live cursor position. - #9123

Merged
sithlord48 merged 1 commit into
deskflow:masterfrom
brett19:osx-mousemove-fix
Nov 11, 2025
Merged

Adjust OS X MouseMove handling to use live cursor position.#9123
sithlord48 merged 1 commit into
deskflow:masterfrom
brett19:osx-mousemove-fix

Conversation

@brett19

@brett19 brett19 commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

I wrote this patch many years ago so the comments / PR title are based on my recollection of why this is necessary. The demonstration of the original issue consisted of an OS X Server connected to a Windows 11 Client, you could then center your cursor on the remote system (Windows) and start performing perfect(ish) circles physically with the mouse. What you would observe is that on the remote system, while the circles would be circular-ish, your cursor would slowly drift away towards one side of the screen, demonstrating that the mouse position information was not being collected accurately.

@nbolton

nbolton commented Nov 5, 2025

Copy link
Copy Markdown
Member

@brett19 Hey, looks like you have some conflicts. Would you mind resolving those?

@brett19

brett19 commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author

Hey @nbolton, I've updated the PR. Is there any chance there is someone around who has some more experience dealing with OS X who might be able to verify the logic of the change? It certainly fixes the issue I was encountering on my local system, but I'm not entirely convinced that the reasoning behind why it fixes it is sound.

Comment thread src/lib/platform/OSXScreen.mm
@nbolton
nbolton self-requested a review November 10, 2025 12:43
@brett19

brett19 commented Nov 11, 2025

Copy link
Copy Markdown
Contributor Author

I've rebased the PR onto the latest master along with some cleanup to the original. It looks like the CI check will need approval due to coming from a fork.

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I tried reproducing the drift but not sure if I'm seeing things or whether the mouse cursor was drifting. In any case it doesn't seem to have any negative effects!

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, actually, could you change your commit message to the conventional commit format?

@sithlord48 sithlord48 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other then the lint and commit message should be fix: .... looks go to me

@sithlord48

Copy link
Copy Markdown
Member

I've updated the commit message and linting so it should be good now @nbolton

@sithlord48
sithlord48 enabled auto-merge (rebase) November 11, 2025 14:53
@sithlord48
sithlord48 requested a review from nbolton November 11, 2025 14:53
@sithlord48
sithlord48 merged commit 6a86c29 into deskflow:master Nov 11, 2025
59 of 61 checks passed
@brett19

brett19 commented Feb 25, 2026

Copy link
Copy Markdown
Contributor Author

@nbolton When can I expect this change to make it into an upstream Synergy release?

@nbolton

nbolton commented Feb 26, 2026

Copy link
Copy Markdown
Member

upstream

Downstream ;-)

I've added this to the backports plan for the next update. We are aiming for the coming weeks.

@brett19

brett19 commented May 22, 2026

Copy link
Copy Markdown
Contributor Author

Hey @nbolton, any updates on this? I haven't seen anything to imply this is included in the latest changelogs.

@nbolton

nbolton commented May 23, 2026

Copy link
Copy Markdown
Member

Hey @nbolton, any updates on this? I haven't seen anything to imply this is included in the latest changelogs.

Decided to put it in the next beta: symless/synergy#190

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.

4 participants