• @[email protected]
    link
    fedilink
    English
    12 months ago

    I don’t understand what is the point of this. Isn’t it the job of the WM to position windows and stuff? Apps have to do it themself now?

    • @[email protected]
      link
      fedilink
      English
      32 months ago

      This is about dragging a tab out of or into a browser window, and letting the compositor know about it, so it can move and place the window accordingly. Apps don’t get to place windows themselves.

    • Norah - She/They
      link
      fedilink
      English
      22 months ago

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

      • @[email protected]
        link
        fedilink
        English
        32 months ago

        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/They
          link
          fedilink
          English
          52 months ago

          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.

          • @[email protected]
            link
            fedilink
            English
            12 months ago

            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.