projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2355ae4
)
Check the update rect, not the region. The region might contain only non-client
author
Gé van Geldorp
<ge@gse.nl>
Sun, 4 Dec 2005 22:28:29 +0000
(22:28 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Sun, 4 Dec 2005 22:28:29 +0000
(22:28 +0000)
parts
svn path=/trunk/; revision=19891
reactos/subsys/win32k/ntuser/painting.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/ntuser/painting.c
b/reactos/subsys/win32k/ntuser/painting.c
index
acfcf84
..
0f8d1c9
100644
(file)
--- a/
reactos/subsys/win32k/ntuser/painting.c
+++ b/
reactos/subsys/win32k/ntuser/painting.c
@@
-995,7
+995,7
@@
NtUserGetUpdateRect(HWND hWnd, LPRECT UnsafeRect, BOOL bErase)
}
}
- RETURN(
Window->UpdateRegion != NULL
);
+ RETURN(
!IntGdiIsEmptyRect(&Rect)
);
CLEANUP:
DPRINT("Leave NtUserGetUpdateRect, ret=%i\n",_ret_);