←back to thread

345 points splitbrain | 1 comments | | HN request time: 0.001s | 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 #
tapoxi ◴[] No.41838489[source]
In Wayland you just start a capture with the xdg-desktop-portal API and it notifies the user and let them select the area to capture.
replies(1): >>41838564 #
gchamonlive ◴[] No.41838564[source]
Yes, but I believe op was refering to how interacting with all things Wayland seems to be more involved than with x11. I'm not sure this is indeed like this, I have zero experience in developing for Wayland, but I think this is what op meant.
replies(2): >>41838611 #>>41839837 #
1. yndoendo ◴[] No.41839837{3}[source]
Wayland is more focused on security. That onion layer right there will increase the complexity of usage. X11 doesn't have the extra abstractions to limit and prevent intrusive interactions with the desktop.

Example of this would be where "runas /user:smith application.exe" is simple but does not work when a Windows Service is required to run an application as the user signed in. One must use Window's API to pull in the account's token and use more API to execute "application.exe". UltraVNC is a great source to see all the extras needed.