-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Multi-display Configuration: facilitate entry point arrangement to be other monitors #1112
Comments
I believe this is the same issue I am having. My set up currently looks like the following:
Laptop A == Server When I move my mouse off the left edge of Laptop A screen, nothing occurs, and the mouse does not move to Laptop B as expect. It would be nice to have some type of multi monitor support that lets us select which edge of which monitor goes to which client, or lets us more fine tune how the monitors between all clients are laid out. |
Here is the detection code: barrier/src/lib/server/Server.cpp Lines 1779 to 1804 in 653e4ba
My setup looks like so:
After hitting a breakpoint when my mouse is at the top edge of my middle screen, these are the values of the variables related to the code that determines whether to move the cursor to another screen:
As you can see, The function Here is where the bounds are read from: barrier/src/lib/platform/OSXScreen.mm Lines 1549 to 1554 in 653e4ba
So So only exceeding this value will trigger a change in screen.
To fix this, we need to get the monitor the cursor is on, check for neighboring monitors, and if there is no neighbouring monitor, trigger a direction change. TodoThere is a Each One consideration though is sometimes you may not want an edge with no neighboring displays to trigger a switch. Ideally you should compare if the destination screen is adjacent to the source screen. |
Very rough implementation. debauchee#1112
I have done a rough implementation for moving up and down here (#1626). |
I run multiple workstations with multiple displays. When I go into a client from the server workstation I have an issue where I need to flip the display arrangement. A monitor that would normally be considered is actually mapped to be on top and the monitor on top is mapped to be on bottom. We need a way to map monitors for client systems so that they can have an entry point on other than what is perceived by the system to be the bottom or aligned monitor.
ShareMouse does a very good job of providing a UI/UX for this, but of course with their not supporting Linux they're a non-starter option.
The text was updated successfully, but these errors were encountered: