173
submitted 2 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 22 points 2 months ago

XWayland normally runs x11 apps seamlessly (more or less) in Wayland

XWayland rootful spawns a window which is like a virtual monitor running a full x11 session inside it. You spawn apps inside of the window using the DISPLAY variable

[-] [email protected] 23 points 2 months ago

Still, the Xwayland window is missing a title bar that would allow for moving the window around.

This is because Wayland does not decorate its surfaces, this is left to the Wayland client themselves to add window decorations (also known as client side decorations, or CSD for short).

This however would add a lot of complexity to Xwayland (which is primarily an Xserver, not a full fledged Wayland application). Thankfully, there is libdecor which can fence Xwayland from that complexity and provide window decorations for us.

This seems... ridiculous. Windows and MacOS developers don't worry about creating decorations. And they don't worry about that "adding a lot of complexity". Even with X11 you get decorations from the WM without any work. I know I don't understand the glory that is the Wayland architecture and that a bunch of folks will now angrily tell me all the numerous ways in which I'm not only wrong but but also stupid but.. It just seems weird is all.

[-] [email protected] 8 points 2 months ago

Honestly I feel like it doesn't really matter either way, it adds a little complexity for the people maintaining qt and gtk and things like that, but most actual application developers aren't interacting directly with the display server so it doesn't make much difference for them

[-] [email protected] 3 points 2 months ago

It's probably the biggest deal for games running in xwayland

[-] [email protected] 1 points 2 months ago

Care to elaborate? What have games to do with window decorations?

[-] [email protected] 5 points 2 months ago

Native games need to add client side decorations to be usable on Wayland Gnome. Currently most games just run in XWayland.

[-] [email protected] -1 points 2 months ago

Exactly, native games are dead anyway? :P

load more comments (2 replies)
load more comments (7 replies)
load more comments (8 replies)
this post was submitted on 15 May 2024
173 points (99.4% liked)

Linux

45773 readers
886 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