Don't return last active popup if it is pointing to a deleted window.
This commit is contained in:
parent
1f192c15bb
commit
ef456af6e5
@ -2766,6 +2766,8 @@ HWND WINAPI GetLastActivePopup( HWND hwnd )
|
||||
if (!wndPtr) return hwnd;
|
||||
retval = wndPtr->hwndLastActive;
|
||||
WIN_ReleaseWndPtr(wndPtr);
|
||||
if ((retval != hwnd) && (!IsWindow(retval)))
|
||||
retval = hwnd;
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user