mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #83] cursor bound to single screen #29
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jpeeler on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/83
With the merge of #81, I was able to test lan-mouse for the first time between a Linux server and MacOS client. I'm using multiple screens and see that when the mouse works on the remote client screen, it is not able to continue to the adjoining screens.
I was kind of hoping that the mouse would automatically release on the edge when traversing to go back to the server. Unsure if that's because of the above issue or if you have to press the release keys by design.
(Unrelated, but there is some keyboard weirdness with the server not passing through keystrokes that are already mapped for usage in the compositor. Will report that later in another issue.)
@feschber commented on GitHub (Jan 26, 2024):
Yes, this is macos related. The API is a bit weird there: https://github.com/feschber/lan-mouse/blob/5cc8cda19d2bef25cff0d767361d0622a8fbf3e8/src/backend/consumer/macos.rs#L120
Problem is that unless the absolute mouse position is restricted to screen boundaries, the relative motion gets lost in fullscreen applications. I currently restrict it to the primary screen. Need to fix that but have not yet found the time.
This patch should remove this restriction but therefore breaks fullscreen apps that grab the mouse
(safe the patch to a file (e.g.
patch) and run@feschber commented on GitHub (Jan 26, 2024):
What compositor are you using on the server side?
@jpeeler commented on GitHub (Jan 26, 2024):
That restriction removal works, but then seems to let the mouse descend off the edge display forever.
I'm using hyprland. Would you like a separate issue made?
@feschber commented on GitHub (Jan 26, 2024):
A yeah, Hyprland has some issues.
https://github.com/hyprwm/Hyprland/issues/4465
https://github.com/hyprwm/Hyprland/issues/4464
But there is nothing I can fix on my end.
@jpeeler commented on GitHub (Feb 29, 2024):
Good news, shortcuts-inhibit is now implemented.
https://github.com/hyprwm/Hyprland/pull/4889 is requesting for testing, specifically for 4665 but maybe 4464 is also potentially fixed?
Maybe you already saw all of this, but figured getting your input on the fix would be nice.
@feschber commented on GitHub (Mar 1, 2024):
Yes I have seen it but not hat the time to test until now.
Both are fixed :) And shortcuts inhibit also work. That's great news.
@Jacoby6000 commented on GitHub (Sep 18, 2024):
For the macos issue where the cursor is stuck on a single monitor, I have implemented a fix: #202