I'm aiming to hide X11 Windows from screen capture software such as discord/obs, Within windows i am able to do this using SetWindowDisplayAffinity on windows, but on X11 i have struggled to find a similar way to do this.
If this seems unreasonable or unreachable, having a black window render on OBS but not from the perspective of the user would again be a good alternative.
If anyone knows anyway i can do any of these, please send me some links to documentation or examples!
And yes i have only recently got into developing software specifically for linux so i am very open to hearing any of your thoughts on this topic.