11# -*- coding: UTF-8 -*-
22# A part of NonVisual Desktop Access (NVDA)
3- # Copyright (C) 2006-2022 NV Access Limited, Joseph Lee, Łukasz Golonka, Julien Cochuyt
3+ # Copyright (C) 2006-2023 NV Access Limited, Joseph Lee, Łukasz Golonka, Julien Cochuyt
44# This file is covered by the GNU General Public License.
55# See the file COPYING for more details.
66
@@ -504,7 +504,7 @@ def event_gainFocus(self, obj, nextHandler):
504504
505505 nextHandler ()
506506
507- def isGoodUIAWindow (self , hwnd ) :
507+ def isGoodUIAWindow (self , hwnd : int ) -> bool :
508508 currentWinVer = winVersion .getWinVer ()
509509 # #9204: shell raises window open event for emoji panel in build 18305 and later.
510510 if (
@@ -528,6 +528,7 @@ def isGoodUIAWindow(self, hwnd):
528528 # Top-level window class names from Windows 11 shell features
529529 "Shell_InputSwitchTopLevelWindow" , # Language switcher
530530 "XamlExplorerHostIslandWindow" , # Task View and Snap Layouts
531+ "TopLevelWindowForOverflowXamlIsland" , # #14539: redesigned systray overflow in 22H2
531532 )
532533 # #13717: on some systems, Windows 11 shell elements are reported as IAccessible,
533534 # notably Start button, causing IAccessible handler to report attribute error when handling events.
0 commit comments