From ae060eb97703066719b7fa94fcf34a447c4a2289 Mon Sep 17 00:00:00 2001 From: "sergei_d%fi.tartu.ee" Date: Tue, 18 Oct 2005 21:02:59 +0000 Subject: [PATCH] [BeOS]Bug 311651, rolling back part of previous patch to avoid rare context-menu misplacement on IFRAME, r=thesuckiestmail, no sr - BeOS-only --- widget/src/beos/nsWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/src/beos/nsWindow.cpp b/widget/src/beos/nsWindow.cpp index a15e8e3b8f3..c1fdee3e01b 100644 --- a/widget/src/beos/nsWindow.cpp +++ b/widget/src/beos/nsWindow.cpp @@ -1002,8 +1002,8 @@ nsresult nsWindow::Move(PRInt32 aX, PRInt32 aY) mBounds.x = aX; mBounds.y = aY; - if (eWindowType_child == mWindowType) - HideKids(PR_TRUE); + // We may reset children visibility here, but it needs special care + // - see comment 18 in Bug 311651. More sofisticated code needed. // until we lack separate window and widget, we "cannot" move BWindow without BView if (mView && mView->LockLooper())