←back to thread

345 points splitbrain | 1 comments | | HN request time: 0s | source
Show context
OsrsNeedsf2P ◴[] No.41837682[source]
I love how simple this is- Barely 100 lines or C++ (ignoring comments). That's one thing that makes me prefer X11 over Wayland.
replies(8): >>41837906 #>>41838181 #>>41838339 #>>41838393 #>>41838489 #>>41838500 #>>41838693 #>>41844644 #
teekert ◴[] No.41838500[source]
Is it much more difficult under Wayland?
replies(1): >>41840816 #
favorited ◴[] No.41840816[source]
Wayland intentionally makes this more difficult, because one of the security goals of the project is that (by default) Wayland clients shouldn't have visibility into other clients' window contents/events/etc.

Of course, it still needs to be possible under Wayland, because there are plenty of legitimate use-cases (screenshots, screen sharing, video capture, etc.), but it was a non-goal to make it as simple as X.

Wayland merged the image-capture-source and image-copy-capture protocol extensions earlier this year: https://www.phoronix.com/news/Wayland-Merges-Screen-Capture

replies(1): >>41842067 #
enriquto ◴[] No.41842067{3}[source]
> Wayland intentionally makes this more difficult,

some men just want to watch the world burn

replies(1): >>41843266 #
favorited ◴[] No.41843266{4}[source]
And Wayland keeps their apps from spying on the rest of my screen!
replies(3): >>41845035 #>>41847043 #>>41848153 #
1. account42 ◴[] No.41848153{5}[source]
I don't run "apps" on my PC. I run programs from a trusted source repository. I expect those programs to not be hindered in their attempts to serve me.