r=pedemonte, sr=blizzard (platform specific), a=mkaply (OS/2 only)
Don't send mouse clicks to the default window proc - handle them ourselves
This commit is contained in:
mkaply%us.ibm.com 2004-08-11 12:42:59 +00:00
Родитель 2fdef090da
Коммит cb5a02337a
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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)