that's been true on phones and macos (since catalina) but not on windows which a desktop app needs no permission at all to grab the whole screen through GDI BitBlt, desktop duplication or the windows graphics capture API (this one draws a yellow border when being used but apps can turn it off) and in settings > privacy & security > screenshot borders you'll be able to see apps that turned it off, for example OBS, discord, lossless scaling etc..