mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 07:03:57 +00:00
[0.4.9][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
87ce8a9a83
commit
f438d026fa
1 changed files with 6 additions and 3 deletions
|
@ -1864,9 +1864,12 @@ co_WinPosSetWindowPos(
|
|||
(!(Window->ExStyle & WS_EX_TOOLWINDOW) && !Window->spwndOwner &&
|
||||
(!Window->spwndParent || UserIsDesktopWindow(Window->spwndParent))))
|
||||
{
|
||||
co_IntShellHookNotify(HSHELL_WINDOWCREATED, (WPARAM)Window->head.h, 0);
|
||||
if (!(WinPos.flags & SWP_NOACTIVATE))
|
||||
UpdateShellHook(Window);
|
||||
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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue