-
Notifications
You must be signed in to change notification settings - Fork 16
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
doesnt work on wayland #28
Comments
Do you have xwayland installed ? This library interfaces with xcb, Xwayland should give you a compatibility layer there. |
I have same problem here i have xwayland installed and i get same error when i try to locate my dolphin window in focus or anything that is not using xwayland itself (example it works on discord, jetbrains apps...) but anything outside, it cant find. I do not know what is happening except that i have xwayland and it does not detect anything that is not running under xwayland at all as already mentioned unless both OP and I are missing some dependacy on our system besides normal xwayland package... |
Yeah, looks like this can't detect wayland programs, only xwayland ones. Maybe this is possible with a portal? There's an extension which could be adopted, but not a lot of compositors support it. |
Im suprised wayland itself still does not seem to have a protocol for this.... even if it would be under ext category of them (atleast as far as i know it does not have any standard protocol) while compositors themself might have one for their use... Would be annoying to implement for every single one but most common ones should not be an issue. However github you linked works on like 4 of them and we dont talk about GNOME thay are special... but if it doesnt work for wlroots based compositors and stuff like upocoming cosmic and unconfirmed kwin i would much more say lets just do it raw. |
It has a protocol, but it's not adopted. Unfortunately this is how Wayland works, each compositor has to adopt the extension protocols. Kwin does not support it either, I tried. Afaik there's no way to do it without these protocols being supported, this is the security model of Wayland. |
Yea sadly guess it just wont work on wayland for now... which is sad to see as this is very useful library. |
this crate does not work on wayland..
The text was updated successfully, but these errors were encountered: