mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[0.4.11][NTUSER] Fix zombie window created by CTRL+ALT+DEL (#4935) CORE-18258
Based on patch by I_Kill_Bugs. Fixes the regression which was introduced to master by 0.4.15-dev-1126-g58b0558f94
fix picked from 0.4.15-dev-5532-gca9ded7af8
This commit is contained in:
parent
4520d0356b
commit
5acdcdbbae
|
@ -1863,11 +1863,14 @@ co_WinPosSetWindowPos(
|
|||
else if ((Window->ExStyle & WS_EX_APPWINDOW) ||
|
||||
(!(Window->ExStyle & WS_EX_TOOLWINDOW) && !Window->spwndOwner &&
|
||||
(!Window->spwndParent || UserIsDesktopWindow(Window->spwndParent))))
|
||||
{
|
||||
if (!UserIsDesktopWindow(Window))
|
||||
{
|
||||
co_IntShellHookNotify(HSHELL_WINDOWCREATED, (WPARAM)Window->head.h, 0);
|
||||
if (!(WinPos.flags & SWP_NOACTIVATE))
|
||||
UpdateShellHook(Window);
|
||||
}
|
||||
}
|
||||
|
||||
Window->style |= WS_VISIBLE; //IntSetStyle( Window, WS_VISIBLE, 0 );
|
||||
Window->head.pti->cVisWindows++;
|
||||
|
|
Loading…
Reference in a new issue