Skip to content

Commit 8851d69

Browse files
authored
Merge 79e8ccb into b341bf9
2 parents b341bf9 + 79e8ccb commit 8851d69

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

projectDocs/dev/developerGuide/developerGuide.t2t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ The sections below provide the list of currently defined extension points in NVD
970970
Please see code documentation in the associated files, or the code itself, for further explanation.
971971
The section titles below represent the package or module in which the listed extension points are defined.
972972

973-
For examples of how to define and use new extension points, please see the code documentation of the ``extensionPoints`` module.
973+
For examples of how to define and use new extension points, please see the code documentation of the ``extensionPoints`` package.
974974

975975
++ braille ++[brailleExtPts]
976976
|| Type | Extension Point | Description |
@@ -1030,6 +1030,10 @@ For examples of how to define and use new extension points, please see the code
10301030
|| Type | Extension Point | Description |
10311031
| ``Action`` | ``pre_handleWindowMessage`` | Notifies when NVDA receives a window message, allowing components to perform an action when certain system events occur. |
10321032

1033+
++ winAPI.secureDesktop ++[winAPI_secureDesktopExtPts]
1034+
|| Type | Extension Point | Description |
1035+
| ``Action`` | ``winAPI.secureDesktop.post_secureDesktopStateChange`` | Notifies when the user has switched to/from the secure desktop |
1036+
10331037
++ bdDetect ++[bdDetectExtPts]
10341038
|| Type | Extension Point | Description |
10351039
| ``Chain`` | ``scanForDevices`` | Can be iterated to scan for braille devices. |

source/winAPI/secureDesktop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def onSecureDesktopChange(isSecureDesktop: bool):
2626
pass
2727
2828
post_secureDesktopStateChange.register(onSecureDesktopChange)
29-
post_secureDesktopStateChange.notify(isSecureDesktop=True)
29+
# Later, when no longer needed:
3030
post_secureDesktopStateChange.unregister(onSecureDesktopChange)
3131
```
3232
"""

0 commit comments

Comments
 (0)