• simonced@lemmy.one
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days 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?

    • Zamundaaa@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 days 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.

      • simonced@lemmy.one
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days 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.