mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-19 04:59:22 +00:00
FIXED: Bug that could open a child window in the wrong platform window
Previously, addChildWindow:ordered: did not set not the child window's platform window. This could result to open them in the wrong browser window. This patch makes sure to set the parent's platform window as the child window's platform window.
This commit is contained in:
1 parent
f1077719fb
commit
1e7dd0dc59
1 file changed
+1
@@ -2558,6 +2558,7 @@ CPTexturedBackgroundWindowMask
|
||||
[CPException raise:CPInvalidArgumentException
|
||||
reason:_cmd + @" unrecognized ordering mode " + orderingMode];
|
||||
|
||||
[childWindow setPlatformWindow:[self platformWindow]];
|
||||
[childWindow setParentWindow:self];
|
||||
[childWindow _setChildOrdering:orderingMode];
|
||||
[childWindow setLevel:[self level]];
|
||||
|
||||
Reference in new issue
Block a user