always move the window, even if it hasn't been shown. this fixes gfx drop
down lists. git-svn-id: svn://10.0.0.236/trunk@38977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6379db8ae5
commit
8a82b5e58b
@ -687,10 +687,10 @@ void nsWidget::WidgetMove(nsWidget *aWidget)
|
||||
PR_LOG(XlibScrollingLM, PR_LOG_DEBUG, ("nsWidget::WidgetMove()\n"));
|
||||
if (PR_TRUE == WidgetVisible(aWidget->mBounds)) {
|
||||
PR_LOG(XlibScrollingLM, PR_LOG_DEBUG, ("Widget is visible...\n"));
|
||||
XMoveWindow(aWidget->mDisplay, aWidget->mBaseWindow,
|
||||
aWidget->mBounds.x,
|
||||
aWidget->mBounds.y);
|
||||
if (aWidget->mIsShown == PR_TRUE) {
|
||||
XMoveWindow(aWidget->mDisplay, aWidget->mBaseWindow,
|
||||
aWidget->mBounds.x,
|
||||
aWidget->mBounds.y);
|
||||
PR_LOG(XlibScrollingLM, PR_LOG_DEBUG, ("Mapping window 0x%lx...\n", mBaseWindow));
|
||||
XMapWindow(aWidget->mDisplay, aWidget->mBaseWindow);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user