Is your feature request related to a problem? Please describe.
Sometimes I turn on screen sharing in Discord and open the CopyQ window. It contains confidential information.
Describe the solution you'd like
Using SetWindowDisplayAffinity with args WDA_EXCLUDEFROMCAPTURE/WDA_MONITOR (if use windows)
There is also a similar api for MacOS.
This feature can be made optional.
Describe alternatives you've considered
none
Additional context
example PR - keepassxreboot/keepassxc#6030