reactos/subsys/win32k/ntuser
diff -u -r1.24.4.3 -r1.24.4.4
--- focus.c 14 Sep 2004 01:00:44 -0000 1.24.4.3
+++ focus.c 27 Sep 2004 01:39:10 -0000 1.24.4.4
@@ -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.24.4.3 2004/09/14 01:00:44 weiden Exp $
+ * $Id: focus.c,v 1.24.4.4 2004/09/27 01:39:10 royce Exp $
*/
#include <w32k.h>
@@ -97,6 +97,7 @@
* message queue has active menus (2000/XP and later)
*/
+ pdo = PsGetWin32Thread()->Desktop;
if((pdo->ActiveMessageQueue != NULL) &&
(pdo->ActiveMessageQueue->MenuOwner != NULL))
{