fix bug 194180 [gtk2] OnContainerFocusOut may find wrong nswindow to

dispatch deactive event. r=blizzard. Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@138060 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
robin.lu%sun.com
2003-02-21 01:09:17 +00:00
parent be4214bb8f
commit 886b125125

View File

@@ -1494,7 +1494,7 @@ nsWindow::OnContainerFocusOutEvent(GtkWidget *aWidget, GdkEventFocus *aEvent)
while (tmpWindow && tmpnsWindow) {
// found it!
if (tmpnsWindow == gFocusWindow)
if (tmpnsWindow == this)
goto foundit;
tmpWindow = gdk_window_get_parent(tmpWindow);