59
submitted 1 month ago* (last edited 1 month ago) by that_leaflet@lemmy.world to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] simonced@lemmy.one 1 points 1 month 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 3 points 1 month 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.

[-] princessnorah@lemmy.blahaj.zone 2 points 1 month ago

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

[-] simonced@lemmy.one 3 points 1 month 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.

[-] princessnorah@lemmy.blahaj.zone 5 points 1 month 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.

[-] Kazumara@discuss.tchncs.de 1 points 1 month ago

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

[-] simonced@lemmy.one 1 points 1 month 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.

this post was submitted on 13 Sep 2024
59 points (84.7% liked)

Linux

48073 readers
669 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS