3 ms·
Well yeah, this is one of the core issues that Wayland was built to address. X11 has zero security.
by pkulak 3y ago
Well yeah, this is one of the core issues that Wayland was built to address. X11 has zero security.
- Wowfunhappy 3y agoThis sounds like it's not really an X11 issue. From the article: > For firefox running in Wayland, `writeXPrimary()` will only succeed when the firefox window (the main window, not necessarily the tab the code runs in) has the focus. Otherwise the selection will be cleared. At first I assumed that this is something specific to the Wayland protocol, but that turned out to be utterly false; it's just some quirk, bug or "feature" specific to either firefox itself or GTK. > But I think that's still bad enough, even if the page should take care to only set the selection when the main window has gained focus.
- arp242 3y agoIt's not. Wayland has a similar primary selection mechanism, and has the same problem. Firefox tells (X11|Wayland) that the text is selected, so that's what gets pasted, because that's how the entire thing works. The article even mentions this.
- paulddraper 3y agoThis has nothing to do with X11, and everything to do with Firefox (on X11).