mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Revert "Fix child windows may reside on other layers than parent."
This reverts commit 8e4f1fdd10.
This commit is contained in:
@@ -1413,8 +1413,7 @@ var resizeTimer = nil;
|
||||
|
||||
// Grab the appropriate level for the layer, and create it if
|
||||
// necessary (if we are not simply removing the window).
|
||||
var layer = [self layerAtLevel:[[self _furthestParentOf:aWindow] level]
|
||||
create:orderingMode !== CPWindowOut];
|
||||
var layer = [self layerAtLevel:[aWindow level] create:orderingMode !== CPWindowOut];
|
||||
|
||||
// When ordering out, ignore otherWindow, simply remove aWindow from its level.
|
||||
// If layer is nil, this will be a no-op.
|
||||
|
||||
Reference in New Issue
Block a user