projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f39f25c
)
[WIN32SS] Make window foreground in SwitchToThisWindow (#995)
author
Katayama Hirofumi MZ
<katayama.hirofumi.mz@gmail.com>
Mon, 29 Oct 2018 23:13:05 +0000
(08:13 +0900)
committer
GitHub
<noreply@github.com>
Mon, 29 Oct 2018 23:13:05 +0000
(08:13 +0900)
CORE-15165
win32ss/user/ntuser/simplecall.c
patch
|
blob
|
history
diff --git
a/win32ss/user/ntuser/simplecall.c
b/win32ss/user/ntuser/simplecall.c
index
97879bd
..
0c9b184
100644
(file)
--- a/
win32ss/user/ntuser/simplecall.c
+++ b/
win32ss/user/ntuser/simplecall.c
@@
-521,8
+521,13
@@
NtUserCallTwoParam(
{
UserPostMessage(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
}
{
UserPostMessage(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
}
+ /* bring window to top and activate */
+ co_WinPosSetWindowPos(Window, HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
+ }
+ else
+ {
+ UserSetActiveWindow(Window);
}
}
- UserSetActiveWindow(Window);
break;
}
break;
}