dont add sticky windows to the stacking list more than once
This commit is contained in:
parent
23e92e110e
commit
2c1ce30804
1 changed files with 3 additions and 1 deletions
|
@ -463,7 +463,9 @@ void Workspace::appendStackOrder(BlackboxWindowList &stack_order) const {
|
|||
BlackboxWindowList::const_reverse_iterator it = stackingList.rbegin();
|
||||
const BlackboxWindowList::const_reverse_iterator end = stackingList.rend();
|
||||
for (; it != end; ++it)
|
||||
if (! (*it)->isDesktop())
|
||||
// don't add desktop wnidows, or sticky windows more than once
|
||||
if (! ( (*it)->isDesktop() ||
|
||||
((*it)->isStuck() && id != screen->getCurrentWorkspaceID())))
|
||||
stack_order.push_back(*it);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue