Commit in reactos/subsys/win32k/ntuser on ros-branch-0_2_3
focus.c+7-11.22 -> 1.22.4.1
Merge from HEAD:
- Don't activate invisible windows

reactos/subsys/win32k/ntuser
focus.c 1.22 -> 1.22.4.1
diff -u -r1.22 -r1.22.4.1
--- focus.c	10 May 2004 17:07:18 -0000	1.22
+++ focus.c	20 Jun 2004 22:25:52 -0000	1.22.4.1
@@ -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: focus.c,v 1.22 2004/05/10 17:07:18 weiden Exp $
+ * $Id: focus.c,v 1.22.4.1 2004/06/20 22:25:52 gvg Exp $
  */
 
 #include <w32k.h>
@@ -151,6 +151,12 @@
       return FALSE;
    }
 
+   if (0 == (Window->Style & WS_VISIBLE))
+   {
+      DPRINT("Failed - Invisible\n");
+      return FALSE;
+   }
+
    PrevForegroundQueue = IntGetFocusMessageQueue();
    if (PrevForegroundQueue != 0)
    {
CVSspam 0.2.8