From c88c8baba9d76c22c50eeeaa5d73151c2346fa92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sun, 14 Mar 2004 20:31:55 +0000 Subject: [PATCH] Return a valid (empty) visible region when the window is not visible svn path=/trunk/; revision=8736 --- reactos/subsys/win32k/ntuser/vis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/vis.c b/reactos/subsys/win32k/ntuser/vis.c index e22433d4877..cb97fe8f918 100644 --- a/reactos/subsys/win32k/ntuser/vis.c +++ b/reactos/subsys/win32k/ntuser/vis.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: vis.c,v 1.22 2004/02/29 17:43:41 navaraf Exp $ + * $Id: vis.c,v 1.23 2004/03/14 20:31:55 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -47,7 +47,7 @@ VIS_ComputeVisibleRegion( if (!(Window->Style & WS_VISIBLE)) { - return NULL; + return NtGdiCreateRectRgn(0, 0, 0, 0); } if (ClientArea)