InWorkspace() was not in balance with SubsetWorkspaces() - this fixes bug #266.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16638 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1298,7 +1298,7 @@ WindowLayer::InWorkspace(int32 index) const
|
|||||||
|| fFeel == B_FLOATING_SUBSET_WINDOW_FEEL) {
|
|| fFeel == B_FLOATING_SUBSET_WINDOW_FEEL) {
|
||||||
for (int32 i = 0; i < fSubsets.CountItems(); i++) {
|
for (int32 i = 0; i < fSubsets.CountItems(); i++) {
|
||||||
WindowLayer* window = fSubsets.ItemAt(i);
|
WindowLayer* window = fSubsets.ItemAt(i);
|
||||||
if (window->InWorkspace(index))
|
if (!window->IsHidden() && window->InWorkspace(index))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user