NtUserBeginPaint: Taking the bounding box of the update region first and clipping...
authorJeffrey Morlan <mrnobo1024@yahoo.com>
Tue, 29 Jul 2008 02:08:56 +0000 (02:08 +0000)
committerJeffrey Morlan <mrnobo1024@yahoo.com>
Tue, 29 Jul 2008 02:08:56 +0000 (02:08 +0000)
commitaf7891739c5e9769761cac00dacf25872f362686
tree244a89a5cac11e644e9e6babfca92cb692b7ee11
parent274bd6b2ab5f72cf978ad67740badc5c1e6257ab
NtUserBeginPaint: Taking the bounding box of the update region first and clipping it to the client area afterwards was making rcPaint contain the entire client area when scrolling. It should be done the other way around: clip to the client area first, then box. Since there is already a clipped update region in the DC, this is easy; just use GdiGetClipBox.

svn path=/trunk/; revision=34923
reactos/subsystems/win32/win32k/ntuser/painting.c