• Michael Murphy (S76)M
    link
    English
    63 months ago

    applets live in their own process and communicate via Wayland protocols (behind a COSMIC API)

    Even better. A COSMIC API was not necessary since Wayland protocols already exist for this (layer-shell and security-context).

    • ruffslOP
      link
      fedilink
      English
      13 months ago

      Could you explain a little more on that? Just curious.

      • Michael Murphy (S76)M
        link
        English
        2
        edit-2
        3 months ago

        Wayland compositors use IPC over a UNIX socket to communicate with Wayland clients. To increase security and enable sandboxed applet support, COSMIC applets use the security-context protocol for their IPC connection to the compositor. To be an applet, COSMIC applications use the layer-shell protocol to behave as an applet. Neither of which were made for COSMIC. Some other Wayland compositors support these protocols. You can see which compositors support the protocols at the bottom of the wayland.app protocol pages.