use the old method for showing windows on workspace change

This commit is contained in:
Dana Jansens 2002-08-08 05:00:14 +00:00
parent 97e86c912e
commit f3a54e41a0

View file

@ -461,8 +461,15 @@ void Workspace::hide(void) {
void Workspace::show(void) { void Workspace::show(void) {
std::for_each(stackingList.begin(), stackingList.end(), BlackboxWindowList::iterator it = stackingList.begin();
std::mem_fun(&BlackboxWindow::show)); 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();
}
XSync(screen->getBlackbox()->getXDisplay(), False); XSync(screen->getBlackbox()->getXDisplay(), False);