projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WIN32SS:NTUSER] Fix Window-snap madness (#1246)
[reactos.git]
/
win32ss
/
user
/
ntuser
/
defwnd.c
diff --git
a/win32ss/user/ntuser/defwnd.c
b/win32ss/user/ntuser/defwnd.c
index
67215d1
..
fc55c4a
100644
(file)
--- a/
win32ss/user/ntuser/defwnd.c
+++ b/
win32ss/user/ntuser/defwnd.c
@@
-787,6
+787,11
@@
IntDefWindowProc(
PWND topWnd = UserGetWindowObject(hwndTop);
if (topWnd)
{
PWND topWnd = UserGetWindowObject(hwndTop);
if (topWnd)
{
+ if ((topWnd->style & WS_THICKFRAME) == 0)
+ {
+ return 0;
+ }
+
if (wParam == VK_DOWN)
{
if (topWnd->style & WS_MAXIMIZE)
if (wParam == VK_DOWN)
{
if (topWnd->style & WS_MAXIMIZE)