mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Properly offset client-relative update rectangle
svn path=/trunk/; revision=6029
This commit is contained in:
parent
e34b503bd2
commit
7479009d8c
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: painting.c,v 1.31 2003/09/09 09:39:21 gvg Exp $
|
/* $Id: painting.c,v 1.32 2003/09/09 20:06:58 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -507,9 +507,10 @@ PaintRedrawWindow( PWINDOW_OBJECT Window,
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
NtGdiOffsetRect(&Rect2, Pt.x, Pt.y);
|
||||||
if (NULL == Window->UpdateRegion)
|
if (NULL == Window->UpdateRegion)
|
||||||
{
|
{
|
||||||
Window->UpdateRegion =
|
Window->UpdateRegion =
|
||||||
UnsafeIntCreateRectRgnIndirect(&Rect2);
|
UnsafeIntCreateRectRgnIndirect(&Rect2);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue