mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
- Allow painting of the desktop window (why was this removed?)
svn path=/trunk/; revision=5436
This commit is contained in:
parent
e373dfabf4
commit
c1de116da3
1 changed files with 6 additions and 13 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.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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue