mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 618420 - increase the size of the lower border resizer area on windows. r=felipe, a=final.
This commit is contained in:
parent
91e48aa963
commit
d9e7ccb885
@ -5835,9 +5835,11 @@ nsWindow::ClientMarginHitTestPoint(PRInt32 mx, PRInt32 my)
|
||||
else if (my < winRect.bottom && my >= (winRect.bottom - mVertResizeMargin))
|
||||
bottom = PR_TRUE;
|
||||
|
||||
if (mx >= winRect.left && mx < (winRect.left + mHorResizeMargin))
|
||||
if (mx >= winRect.left && mx < (winRect.left +
|
||||
(bottom ? (2*mHorResizeMargin) : mHorResizeMargin)))
|
||||
left = PR_TRUE;
|
||||
else if (mx < winRect.right && mx >= (winRect.right - mHorResizeMargin))
|
||||
else if (mx < winRect.right && mx >= (winRect.right -
|
||||
(bottom ? (2*mHorResizeMargin) : mHorResizeMargin)))
|
||||
right = PR_TRUE;
|
||||
|
||||
if (top) {
|
||||
|
Loading…
Reference in New Issue
Block a user