mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
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:
parent
2fdef090da
commit
cb5a02337a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user