Follow

I thought applications were supposed not to be able to spy on each other, but can take a screenshot of the whole screen without (AFAICS) any special privileges. How does that work?

· · Web · 2 · 3 · 1

@raboof @yuka

I do not know, but @emersion would... and I'm interested in the answer as well.

@raboof It uses a protocol extension: https://git.sr.ht/~emersion/grim/tree/master/item/protocol/wlr-screencopy-unstable-v1.xml It’s up to the compositor to implement this extension and restrict how it can be used.

@yuka ok, so it looks like sway (actually volare ;) ) does wlr_screencopy_manager_v1_create (github.com/swaywm/sway/blob/76) and wlroots doesn't seem to have an option to turn this on/off dynamically yet AFAICS (gitlab.freedesktop.org/wlroots) - though I might have missed it ;)

Sign in to participate in the conversation
Merveilles

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.