mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:22:57 +00:00
[WIN32K/NTUSER]
* Apply the same filter to HSHELL_WINDOWACTIVATED, that I used for _WINDOWCREATED. svn path=/branches/shell-experiments/; revision=63306
This commit is contained in:
parent
9d30009eb1
commit
c0a40fbfe8
1 changed files with 8 additions and 1 deletions
|
@ -239,11 +239,18 @@ co_IntSendActivateMessages(PWND WindowPrev, PWND Window, BOOL MouseActivate, BOO
|
||||||
MAKEWPARAM(MouseActivate ? WA_CLICKACTIVE : WA_ACTIVE, Window->style & WS_MINIMIZE),
|
MAKEWPARAM(MouseActivate ? WA_CLICKACTIVE : WA_ACTIVE, Window->style & WS_MINIMIZE),
|
||||||
(LPARAM)(WindowPrev ? UserHMGetHandle(WindowPrev) : 0));
|
(LPARAM)(WindowPrev ? UserHMGetHandle(WindowPrev) : 0));
|
||||||
|
|
||||||
if (!Window->spwndOwner && !IntGetParent(Window))
|
if (Window->spwndParent == UserGetDesktopWindow() &&
|
||||||
|
Window->spwndOwner == NULL &&
|
||||||
|
!(Window->ExStyle & WS_EX_TOOLWINDOW) ||
|
||||||
|
(Window->ExStyle & WS_EX_APPWINDOW))
|
||||||
{
|
{
|
||||||
// FIXME lParam; The value is TRUE if the window is in full-screen mode, or FALSE otherwise.
|
// FIXME lParam; The value is TRUE if the window is in full-screen mode, or FALSE otherwise.
|
||||||
co_IntShellHookNotify(HSHELL_WINDOWACTIVATED, (WPARAM) UserHMGetHandle(Window), FALSE);
|
co_IntShellHookNotify(HSHELL_WINDOWACTIVATED, (WPARAM) UserHMGetHandle(Window), FALSE);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
co_IntShellHookNotify(HSHELL_WINDOWACTIVATED, 0, FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
Window->state &= ~WNDS_NONCPAINT;
|
Window->state &= ~WNDS_NONCPAINT;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue