Ignore the mouse click that activates a window.
authorChris Hanson <org/chris-hanson/cph>
Thu, 19 Jun 1997 05:14:14 +0000 (05:14 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 19 Jun 1997 05:14:14 +0000 (05:14 +0000)
v7/src/microcode/ntscreen.c

index 44915cb51b5e966c0ab9858a7b41810929bb293b..0dc8bc89bf953f870bfb82422aac2b479b53102d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: ntscreen.c,v 1.29 1997/05/17 07:00:14 cph Exp $
+$Id: ntscreen.c,v 1.30 1997/06/19 05:14:14 cph Exp $
 
 Copyright (c) 1993-97 Massachusetts Institute of Technology
 
@@ -602,6 +602,11 @@ ScreenWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
         Screen_Clear (screen, (int)wParam);
         return  0L;
 
+      case WM_MOUSEACTIVATE:
+        if ((LOWORD (lParam)) == HTCLIENT)
+          return (MA_ACTIVATEANDEAT);
+        break;
+
       case WM_LBUTTONDOWN:
       case WM_MBUTTONDOWN:
       case WM_RBUTTONDOWN: