Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why does the display server have to restore window positions?


If you want that feature, then the display server doesn't need to be the one to support it when the display server lets applications obtain and control window positions.

Wayland doesn't let you do that, and it's a deliberate choice.

See e.g.:

https://wayland-book.com/xdg-shell-in-depth/interactive.html

"However, a deliberate design trait of Wayland makes application windows ignorant of their exact placement on screen or relative to other windows."

And: https://hackaday.com/2025/11/11/waylands-never-ending-opposi...


We know it's a deliberate choice. It's just wrong.

>This decision affords Wayland compositors a greater deal of flexibility — windows could be shown in several places at once, arranged in the 3D space of a VR scene, or presented in any other novel way. Wayland is designed to be generic and widely applicable to many devices and form factors.

Do ANY of these other features work? Furthermore, all our applications are built basically as 2D grids of pixels. What click position do you get if you render the same window in some "novel" way like in two places at once? I don't especially care if any of their space-age bullshit works. It NEEDS to work for the apps we have, which are just pixel arrays. Many users have been ranting about this issue for years and all we get in response from Wayland wackos is basically "live with it!" Nobody has realized any actual benefits in functionality from switching to Wayland. Maybe some graphics nerds with weird monitor setups are geeking out about fractional pixel coordinates and multiple refresh rates. The rest of us are just dealing with issues for no benefit.


> Maybe some graphics nerds with weird monitor setups are geeking out about fractional pixel coordinates and multiple refresh rates.

They're complaining too because Wayland upscales everything (quadrupling the number of pixels and trashing performance) in order to downscale it for fractional scaling.


Support for rendering directly at the target resolution has been there for years, at least in major compositors such as KDE's KWin and GNOME's Mutter.

https://wayland.app/protocols/fractional-scale-v1


> They're complaining too because Wayland upscales everything (quadrupling the number of pixels and trashing performance) in order to downscale it for fractional scaling.

Only once ? They could do this 3 times. For smoothness. /s


Wayland deliberately chose to break user workflows. Is it any surprise that users resent Wayland?


I don't resent it. x11 is laggy and poorly supported on modern desktops, even if all the bugs were fixed it would be a pretty sore daily driver experience. Without Wayland I'd still be dual-booting into Windows, the same likely goes for every Steam Deck owner.

x11 desktops can and will continue to exist, and users will choose whichever one they prefer.


Because the display server refuses to let anyone else set or restore window positions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: