• /home/addison@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    3 months ago

    I’m a baby dev trying to collect some brain wrinkles. Can you expand that last point? What’s the downside of client side decorations? What’s a better alternative?

    • Midnitte@beehaw.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 months ago

      I imagine it’s hard to debug and hard to ensure it’s consistent across machines due to different environments?

      • Lionir [he/him]@beehaw.org
        link
        fedilink
        English
        arrow-up
        9
        ·
        3 months ago

        Maybe I’m misunderstanding but for clarification, the fact they’re drawn by the client actually means they can always be the same across different environments. This is in opposition to server-side decorations which are drawn by the desktop environment and should match the environment as a result. That said, server-side decorations are largely much less extensible than client side ones.

        • Communist@lemmy.frozeninferno.xyz
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          It’s a bad thing that they’re always the same, I don’t like having window borders or buttons and use a keyboard based hyprland setup, this is just a bunch of wasted space for me

          • Lionir [he/him]@beehaw.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 months ago

            Well, you can disable window controls in gnome and KDE afaik if you want. Then you’ll only have the various app-specific buttons that are necessary for functionality.

            If you’re looking for every app to have a vim-like interface or something, well, that seems a bit unrelated to CSDs.