From 6f27e4e22901200e1bdc14d0a306e54ec7f35b74 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Wed, 11 Aug 2004 12:42:59 +0000 Subject: [PATCH] #254340 r=pedemonte, sr=blizzard (platform specific), a=mkaply (OS/2 only) Don't send mouse clicks to the default window proc - handle them ourselves --- widget/src/os2/nsWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widget/src/os2/nsWindow.cpp b/widget/src/os2/nsWindow.cpp index 18e0b5ecd4b..bc6979669a6 100644 --- a/widget/src/os2/nsWindow.cpp +++ b/widget/src/os2/nsWindow.cpp @@ -2465,6 +2465,8 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc) // there's no need to clear this on button-up gLastButton1Down.x = XFROMMP(mp1); gLastButton1Down.y = YFROMMP(mp1); + WinSetActiveWindow(HWND_DESKTOP, mWnd); + result = PR_TRUE; break; case WM_BUTTON1UP: if (!mIsScrollBar)