refactor: remove layer shell proxy#337
Conversation
This removes support for layer shell in panel clients. I don't believe any applets need to create layer shell surfaces anymore.
|
Does it means we can't use layer shell in applet ? I was using it in my clipboard manager but it was buggy recently |
Yeah, that would be a consequence of this change, or at least it would mean you have to do the layer shell surface differently. For example, you could set the WAYLAND_SOCKET variable to the value of the variable X_PRIVILEGED_WAYLAND_SOCKET given to your applet. Then you can spawn a daemon that works much like cosmic-osd, cosmic-launcher, cosmic-app-library, or cosmic-notifications, and can be activated easily with usage of the libcosmic single-instance feature. I don't think there is much benefit really to the panel acting as a proxy for layer shell, but maybe there is some use case where this method does not work. |
This removes support for layer shell in panel clients. I don't believe any applets need to create layer shell surfaces anymore. I'll double check that no other apps depend on layer shell before marking as ready.