If anyone wants to give an ELI5 or a link to a video that ELI5 I’d be incredibly thankful

I swear that all the stuff I find is like super in depth technical stuff that just loses me in no time flat

  • Gormadt@lemmy.blahaj.zoneOP
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    The TLDR was really helpful NGL

    So it’s software that handles software wanting to display things on the screen. Because having each piece of software do it itself would be not only chaos but a massive security concern. And it’s a big deal because it fixes (by replacing) the old software with something that’s easier to work with than the old ways of doing things (due to all new code that’s not spaghetti that’s hacked together over decades).

    Am I close?

    • loutr@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Because having each piece of software do it itself would be not only chaos but a massive security concern.

      Not really, the main point is that (most) apps don’t know where they are on the screen, whether they’re minimized, on the active workspace, … and they don’t care either. That’s the responsibility of the window manager.

      The app tells the display server “I need a window to display these pixels” and that’s it. And the window manager, well, manages these windows.

      On the topic of security, X11 doesn’t handle security at all, that’s one of the main issues. So any graphical app can read the other windows’ pixels, grab everything you type, everything you copy, … OTOH Wayland isolates apps so they can’t do that by default. Apps that really need to (screenshot apps, …) can use “portals” to ask for these permissions.