Bug 509660 - Also persist the position of the window when its size changes, since the position might have changed, too. r=neil

--HG--
extra : rebase_source : a3a8cc5b010b47d0b8a6b3b244399ca581ab9454
This commit is contained in:
Markus Stange 2009-08-13 08:47:41 +12:00
parent 8528e9cde6
commit 4e95e1fdcd

View File

@ -336,7 +336,7 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
// persist size, but not immediately, in case this OS is firing
// repeated size events as the user drags the sizing handle
if (!eventWindow->IsLocked())
eventWindow->SetPersistenceTimer(PAD_SIZE | PAD_MISC);
eventWindow->SetPersistenceTimer(PAD_POSITION | PAD_SIZE | PAD_MISC);
result = nsEventStatus_eConsumeNoDefault;
break;
}