since !isNormal windows cant focus from mouse enter events anyays, we don't need to unmap them/remap them on workspace changes, so we don't. this way they dont flash.
This commit is contained in:
parent
06b160db51
commit
961d7eb5b3
1 changed files with 8 additions and 2 deletions
|
@ -227,6 +227,9 @@ void Workspace::showAll(void) {
|
|||
const BlackboxWindowList::iterator end = stackingList.end();
|
||||
for (; it != end; ++it) {
|
||||
BlackboxWindow *bw = *it;
|
||||
// not normal windows cant focus from mouse enters anyways, so we dont
|
||||
// need to unmap/remap them on workspace changes
|
||||
if (! bw->isStuck() || bw->isNormal())
|
||||
bw->show();
|
||||
}
|
||||
}
|
||||
|
@ -240,6 +243,9 @@ void Workspace::hideAll(void) {
|
|||
BlackboxWindow *bw = *it;
|
||||
++it; // withdraw removes the current item from the list so we need the next
|
||||
// iterator before that happens
|
||||
// not normal windows cant focus from mouse enters anyways, so we dont
|
||||
// need to unmap/remap them on workspace changes
|
||||
if (! bw->isStuck() || bw->isNormal())
|
||||
bw->withdraw();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue