this post was submitted on 21 Sep 2024
29 points (100.0% liked)
Rust
6044 readers
2 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It doesn't by default and design, but that doesn't mean it can't be implemented through a special protocol or compositor plugin.
This also protects against windows, not processes of the same user. You can bypass the problem by simply wrapping the game and your overlay in a nested compositor like gamescope. From there you control the compositor, so you can do whatever you want.
And it's still secure because it only lets you overlay over stuff from your own Wayland clients spawned by your overlay wrapper, none of the user's other windows, so you can still trust your password manager and such.