Skip to content

Commit c8e0845

Browse files
committed
Merge pull request #109813 from bruvzg/exc_note
Clarify that `EXCLUDE_FROM_CAPTURE` only works with native windows.
2 parents 597170a + dd60996 commit c8e0845

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/classes/Window.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@
904904
</constant>
905905
<constant name="FLAG_EXCLUDE_FROM_CAPTURE" value="9" enum="Flags">
906906
Windows is excluded from screenshots taken by [method DisplayServer.screen_get_image], [method DisplayServer.screen_get_image_rect], and [method DisplayServer.screen_get_pixel].
907+
[b]Note:[/b] This flag has no effect in embedded windows.
907908
[b]Note:[/b] This flag is implemented on macOS and Windows (10, 20H1).
908909
[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.
909910
</constant>

0 commit comments

Comments
 (0)