• Norah - She/TheyEnglish
    arrow-up
    2
    arrow-down
    0
    ·
    1 month ago
    link
    fedilink

    How can a window manager position things if the program doesn’t communicate with it correctly?

    • simoncedEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      1 month ago
      link
      fedilink

      I used to do apps with QT (as well as with Java) and when creating a window, I only needed to say, “new window of that preferred size please”, then the engine would make the window of that size if possible. Now, maybe QT did things more in depth behind the scene, I don’t know.

      • Norah - She/TheyEnglish
        arrow-up
        5
        arrow-down
        0
        ·
        1 month ago
        link
        fedilink

        I kind of think that’s QTs whole deal right? An abstraction layer that allows for devs to not get stuck in the weeds implementing it all manually.

      • Kazumara
        arrow-up
        1
        arrow-down
        0
        ·
        1 month ago
        link
        fedilink

        If Qt or Java is doing it, then that’s still your program and not the WM, though?

        • simoncedEnglish
          arrow-up
          1
          arrow-down
          0
          ·
          1 month ago
          link
          fedilink

          In those cases, I agree. But for a tiling window manager like w3m, I don’t see the application having a say in position and location. Hence I didn’t think that the app has so much to do with creating windows. Just my thought.