зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
895ec082e4
Коммит
6f27e4e229
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче