use the old method for showing windows on workspace change
This commit is contained in:
parent
97e86c912e
commit
f3a54e41a0
1 changed files with 9 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue