pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
418 stars 51 forks source link

Add shadows and border to applications with Server Side Decorations #486

Open TheESN opened 1 month ago

TheESN commented 1 month ago

These applications don't provide these things, since they rely on Window Manager/Wayland Compositor for that

ryanabx commented 1 month ago

This should be in libcosmic probably, since they provide the base for SSDs

Drakulix commented 1 month ago

Not necessarily due to how the libcosmic integration works.

TheESN commented 1 month ago

Not necessarily due to how the libcosmic integration works.

So applications with SSD would get it at the same time as native COSMIC applications?

Drakulix commented 1 month ago

Not necessarily due to how the libcosmic integration works.

So applications with SSD would get it at the same time as native COSMIC applications?

We basically just render a header bar with libcosmic in cosmic-comp, not a full-blown window. So no, cosmic-comp won't get shadows and borders for free, but both should be reasonably easy to implement manually. We just need to make sure the two implementations look alike.