News for hackers. Stuff that matters.
Re:What process created this X11 window? by spellcard199 on Friday November 10, 2023 @10:18AM (#38219892)
Some weeks ago I searched for a more general solution that doesn't depend on the compositor and doesn't need root (i.e. an xkill replacement), but I didn't find one.

As a frequent user of xkill I was surprised by that too, but I remember reading somewhere that making a terminal application kill another application's window is not allowed by design. Reusing a sibling commenter's analogy, it's kind of like some javascript functions in the browser can only be triggered by user actions for security reasons.

The compositor, however, is allowed to kill the windows it's showing. So if you want to kill a window, you can ask the compositor to do it for you. Gnome, KDE [0], sway [1], etc.. each expose this functionality in a way that differ between each other.

[0] https://www.reddit.com/r/kde/comments/1242w2e/wkillsh_an_xki...

[1] https://www.reddit.com/r/linuxquestions/comments/ufw7tj/is_t...

Re:What process created this X11 window? by calvinmorrison on Friday November 10, 2023 @10:34AM (#38220118)
And eventually KDE, Gnome, and so forth will develop a shared layer on top of Wayland to handle such core functions can call them Wprops, they'll all implement the same _NET_WAYLAND_HINTS and a new group freewayland.org will come together to standardize it. Then waykill will work globally
Re:What process created this X11 window? by yjftsjthsd-h on Friday November 10, 2023 @10:43AM (#38220234)
But of course by then (late 2030s) we as an industry will appreciate that Wayland has deep unfixable flaws and nobody is willing to maintain it and everyone should switch to ... V-something... let's say "Vineyard", the new graphical system that everyone agrees we should switch to ASAP because this time we got it right;)
Re:What process created this X11 window? by Qwertious on Friday November 10, 2023 @11:36AM (#38220932)
In the 2030s everyone will finally acknowledge the sheer elegance of Arcan ( www.arcan-fe.com ) and admit out loud that Wayland's "just use a GUI toolkit!" was cope for Wayland being a reflexively underspecified protocol, an unfortunate result of its devs suffering from X11-PTSD.
Re:What process created this X11 window? by hulitu on Friday November 10, 2023 @01:01PM (#38222169)
Lol. You must be new to SW development "good practices". If they don't "release" a new library version every second year, "god" will strike them. /s
Re:What process created this X11 window? by bitwize on Friday November 10, 2023 @01:30PM (#38222590)
Vineyard I can actually see, after Martha's Vineyard -- following the Red Hat trend of naming system components after Massachusetts towns (Wayland, Weston, Dracut, Plymouth...).