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

Weylus does not work if I use it in a second external monitor #108

Closed
All3xJ opened this issue Aug 14, 2021 · 1 comment
Closed

Weylus does not work if I use it in a second external monitor #108

All3xJ opened this issue Aug 14, 2021 · 1 comment

Comments

@All3xJ
Copy link

All3xJ commented Aug 14, 2021

Video of the bug: https://streamable.com/9pkj5i
Distro: ArchLinux
DE: GNOME Wayland
weylus 0.11.2

@H-M-H
Copy link
Owner

H-M-H commented Aug 14, 2021

This is a known problem on Wayland, Weylus works fine on X11. Sadly Wayland made some design decisions that make it impossible to get the position of a window or screen within the whole desktop via the Wayland protocol, which is needed for proper input mapping. Actually Wayland does not even support recording the screen and every compositor is on its own. There is, however, a de-facto standard for screen recording developed by flatpak: https://github.com/flatpak/xdg-desktop-portal. Unfortunately also without a way to determine window/monitor positions. I have filed some issues there but so far it does not seem there is any interest to change things. I am closing this in favor of #3, have a look for more details.

@H-M-H H-M-H closed this as completed Aug 14, 2021
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

2 participants