зеркало из https://github.com/mozilla/pjs.git
Added code to set the XmNx and XmNy attributes in the resize method
This commit is contained in:
Родитель
94ec6d13a6
Коммит
24cc939a2b
|
@ -770,7 +770,7 @@ void nsWindow::Resize(PRUint32 aWidth, PRUint32 aHeight, PRBool aRepaint)
|
|||
mBounds.height = aHeight;
|
||||
UpdateVisibilityFlag();
|
||||
UpdateDisplay();
|
||||
XtVaSetValues(mWidget, XmNwidth, aWidth, XmNheight, aHeight, nsnull);
|
||||
XtVaSetValues(mWidget, XmNx, mBounds.x, XmNy, mBounds.y, XmNwidth, aWidth, XmNheight, aHeight, nsnull);
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче