-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for other compositors (KDE, Gnome, ...) #17
Comments
For client-side decorations, libdecor could also be an option, if it's easily possible to add it to our event loop unintrusively (it seems to have its own dispatch function that replaces wl_display_dispatch in the examples) |
I started implementing libdecor support for server and client side window decorations. Current progress tracked in branch feature-libdecor. Currently it's still a little buggy, especially on sway. Window movement and resizing seems to work fine on KDE, but the feature is definitely far from being implemented correctly. |
It seems I found the fix for the flickering resize on sway: I was committing the libdecor frame and resizing the EGL surface in the wrong order. I think this now just needs a small bit of cleanup, and then decoration support is done, ticking two of the above boxes. |
With libdecor and the xdg portals backend, wl-mirror will now work on KDE and Gnome! Both branches are still experimental and aren't finalized/merged yet, but apparently this started working just on its own! The combined code can be tested in branch KDEGnome |
libdecor support is now merged into main. |
There are a few things that need to be done for wl-mirror to work on other compositors than sway / wlroots:
main
)main
)The last of these is likely going to be a long way off, if it is ever implemented. Since wl-mirror does not use a toolkit, adding client-side decorations would involve a whole new level of complexity since that would require handling mouse input and seats.
The text was updated successfully, but these errors were encountered: