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,7 +227,10 @@ void Workspace::showAll(void) {
|
||||||
const BlackboxWindowList::iterator end = stackingList.end();
|
const BlackboxWindowList::iterator end = stackingList.end();
|
||||||
for (; it != end; ++it) {
|
for (; it != end; ++it) {
|
||||||
BlackboxWindow *bw = *it;
|
BlackboxWindow *bw = *it;
|
||||||
bw->show();
|
// 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,7 +243,10 @@ void Workspace::hideAll(void) {
|
||||||
BlackboxWindow *bw = *it;
|
BlackboxWindow *bw = *it;
|
||||||
++it; // withdraw removes the current item from the list so we need the next
|
++it; // withdraw removes the current item from the list so we need the next
|
||||||
// iterator before that happens
|
// iterator before that happens
|
||||||
bw->withdraw();
|
// 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