Commit in reactos/subsys/win32k/ntuser on MAIN
vis.c+2-21.22 -> 1.23
Return a valid (empty) visible region when the window is not visible

reactos/subsys/win32k/ntuser
vis.c 1.22 -> 1.23
diff -u -r1.22 -r1.23
--- vis.c	29 Feb 2004 17:43:41 -0000	1.22
+++ vis.c	14 Mar 2004 20:31:55 -0000	1.23
@@ -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 @@
 
    if (!(Window->Style & WS_VISIBLE))
    {
-      return NULL;
+      return NtGdiCreateRectRgn(0, 0, 0, 0);
    }
 
    if (ClientArea)
CVSspam 0.2.8