Only use window occlusion on platforms where it is supported

This commit is contained in:
Kovid Goyal
2025-02-12 12:02:46 +05:30
parent 2cf83070a0
commit 50f64d5981
14 changed files with 42 additions and 22 deletions

View File

@@ -3306,8 +3306,8 @@ The possible values are:
:code:`invisible`
Only send a notification when the window both is unfocused and not visible
to the user, for example, because it is in an inactive tab or its OS window
is not currently visible (note that OS Window visibility is not implemented
by some Wayland compositors such as sway and also not implemented in X11).
is not currently visible (on platforms that support OS window visibility querying
this considers an OS Window visible iff it is active).
:code:`always`
Always send a notification, regardless of window state.