mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
update widget position member variable when window is moved for any reason. r=bryner,ere bug 224760, 223901
This commit is contained in:
parent
d099f19623
commit
cc404f7b11
@ -4905,6 +4905,9 @@ void nsWindow::OnDestroy()
|
||||
//-------------------------------------------------------------------------
|
||||
PRBool nsWindow::OnMove(PRInt32 aX, PRInt32 aY)
|
||||
{
|
||||
mBounds.x = aX;
|
||||
mBounds.y = aY;
|
||||
|
||||
nsGUIEvent event;
|
||||
InitEvent(event, NS_MOVE);
|
||||
event.point.x = aX;
|
||||
|
Loading…
Reference in New Issue
Block a user