-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Sway: output (display) rotation causes cursor to get stuck on remote #267
Comments
what version are you on? This should be fixed very recently. |
Oh right, I was using the release from November, I should have tried git main before filing the issue. But I've now reproduced it on the latest git main:
Also, different from the issue you linked, |
For the record, this is how I'm rotating the display output while Sway is running: swaymsg "output eDP-1 transform 0" # output is natively portrait mode, so this sets it to portrait/tablet mode And back again: swaymsg "output eDP-1 transform 90" # output is natively portrait mode, so this sets it to landscape/laptop mode |
Could you send a log from the device where the mouse can not exit? |
Here's a log: Every time I rotate the screen I see it printing those "active outputs: ..." messages. When it sees "eDP-1 1280x800", that's landscape mode, and "eDP-1 800x1280" is portrait mode. At the end of the log, lan-mouse exits because I send it Ctrl+C on the terminal. Between the last screen rotation and the exit, there's no log messages, as I can't get the mouse to leave that screen (without either stopping lan-mouse or using the release keybind). edit: Also, for completeness, I'm using SwayFX and not vanilla Sway, but it's a fairly minimal fork and I doubt it's relevant: $ sway --version
swayfx version 0.4 (based on sway 1.9.0) |
so it does not stop working every time, am I understanding that correctly? Also: Could you export |
I'm connecting one system with KDE Plasma Wayland (right side) and one system with Sway (left side). The Sway system is on a laptop that can be folded into a tablet, so I have a keybinding to rotate Sway's output (in Sway, displays/screens are called "outputs").
To reproduce the issue I can do the following:
lan-mouse
on both systems, then move the mouse on the KDE system to the left edge, onto the Sway systemlan-mouse
still works as expected, I can move the cursor/focus back and forthlan-mouse
log when I move the mouse to any edge of the displaylan-mouse
on the Sway system, it works againAnyway, thanks for this awesome piece of software! I'm also looking forward to clipboard docs/support! I want to create a proper Guix package for this since the Sway system above runs GuixSD, but I need to get better at Guix packaging first 🙂
The text was updated successfully, but these errors were encountered: