[Windows] Fix color picker on old versions of Windows 10.

This commit is contained in:
Pāvels Nadtočajevs 2025-08-17 16:34:58 +03:00
parent 0c51ede243
commit 274f88c5b8
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
4 changed files with 7 additions and 6 deletions

View file

@ -904,7 +904,7 @@
</constant>
<constant name="FLAG_EXCLUDE_FROM_CAPTURE" value="9" enum="Flags">
Windows is excluded from screenshots taken by [method DisplayServer.screen_get_image], [method DisplayServer.screen_get_image_rect], and [method DisplayServer.screen_get_pixel].
[b]Note:[/b] This flag is implemented on macOS and Windows.
[b]Note:[/b] This flag is implemented on macOS and Windows (10, 20H1).
[b]Note:[/b] Setting this flag will prevent standard screenshot methods from capturing a window image, but does [b]NOT[/b] guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure.
</constant>
<constant name="FLAG_POPUP_WM_HINT" value="10" enum="Flags">