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

Investigate behaviour with synergy #2

Open
blaberry opened this issue Feb 5, 2018 · 1 comment
Open

Investigate behaviour with synergy #2

blaberry opened this issue Feb 5, 2018 · 1 comment

Comments

@blaberry
Copy link
Owner

blaberry commented Feb 5, 2018

Synergy does a lot of stuff with the mouse. Most interesting is probably mouse movement on the master computer. Clients running FSL shouldn't be as bad off. Either way, make sure

  • Mouse lock on master prevents synergy from switching screens
  • Mouse lock on client lets mice enter, but not leave until an unlocking event happens

Other things:
There is a key command for toggling between local and relative mouse coords in synergy, can we send an IPC message saying "hey syn we're locked onto this window now" and change to local coords? Would be dope.

@blaberry
Copy link
Owner Author

blaberry commented Feb 5, 2018

Update:

When FSL is running on the Synergy server, the behavior is incorrect.

The mouse is still able to be moved to the second machine's screen, if that screen borders the one the cursor is locked to. As long as the clients do not border the monitor with the lock however, you should be good.

When FSL is running on the Synergy client, the behavior is much worse.

The mouse still gets sent coordinates which correspond to the second screen. This results in the cursor getting stuck on the clipped border, until the cursor is moved far enough towards the locked-onto screen.
Using relative or absolute mouse movements on the server does not alleviate this problem.

Good solution:

For serverside FSL, we might be able to use an IPC-call to the synergy service, send a SIGPAUSE or stop it completely while locked on.
For clientside FSL, there's no solution but to redo how synergy sends cursor movement, afaik.

Bad solution:

Maybe warn user about synergy behaving strangely.

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

No branches or pull requests

1 participant