- Allow painting of the desktop window (why was this removed?)

svn path=/trunk/; revision=5436
This commit is contained in:
David Welch 2003-08-06 15:27:27 +00:00
parent e373dfabf4
commit c1de116da3

View file

@ -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.23 2003/08/05 15:41:03 weiden Exp $ /* $Id: painting.c,v 1.24 2003/08/06 15:27:27 dwelch Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -457,23 +457,16 @@ PaintUpdateRgns(PWINDOW_OBJECT Window, HRGN hRgn, ULONG Flags,
} }
BOOL STDCALL BOOL STDCALL
PaintRedrawWindow( PaintRedrawWindow( PWINDOW_OBJECT Window,
PWINDOW_OBJECT Window, const RECT* UpdateRect,
const RECT* UpdateRect, HRGN UpdateRgn,
HRGN UpdateRgn, ULONG Flags,
ULONG Flags, ULONG ExFlags)
ULONG ExFlags)
{ {
RECT Rect, Rect2; RECT Rect, Rect2;
POINT Pt; POINT Pt;
HRGN hRgn = NULL; HRGN hRgn = NULL;
/* Return if this is for a desktop. */
if (W32kIsDesktopWindow(Window))
{
return FALSE;
}
if ((RDW_INVALIDATE | RDW_FRAME) == (Flags & (RDW_INVALIDATE | RDW_FRAME)) || if ((RDW_INVALIDATE | RDW_FRAME) == (Flags & (RDW_INVALIDATE | RDW_FRAME)) ||
(RDW_VALIDATE | RDW_NOFRAME) == (Flags & (RDW_VALIDATE | RDW_NOFRAME))) (RDW_VALIDATE | RDW_NOFRAME) == (Flags & (RDW_VALIDATE | RDW_NOFRAME)))
{ {