notify_on_cmd_finish invisible now uses actual OS Window visibility as reported by the window manager

Fixes #8320
This commit is contained in:
Kovid Goyal
2025-02-12 10:30:18 +05:30
parent 4472d91fbb
commit d27e4f84b7
3 changed files with 17 additions and 3 deletions

View File

@@ -3306,7 +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 active.
is not currently visible (note that OS Window visibility is not implemented
by some Wayland compositors such as sway).
:code:`always`
Always send a notification, regardless of window state.