watch for sticky windows when mapping, let them show.

This commit is contained in:
Dana Jansens 2002-09-04 02:28:42 +00:00
parent 18f704edd0
commit 1f5dd220e7

View file

@ -2736,7 +2736,8 @@ void BlackboxWindow::mapRequestEvent(const XMapRequestEvent *re) {
Even though the window wants to be shown, if it is not on the current Even though the window wants to be shown, if it is not on the current
workspace, then it isn't going to be shown right now. workspace, then it isn't going to be shown right now.
*/ */
if (blackbox_attrib.workspace != screen->getCurrentWorkspaceID() && if (! flags.stuck &&
blackbox_attrib.workspace != screen->getCurrentWorkspaceID() &&
blackbox_attrib.workspace < screen->getWorkspaceCount()) blackbox_attrib.workspace < screen->getWorkspaceCount())
if (current_state == NormalState) current_state = WithdrawnState; if (current_state == NormalState) current_state = WithdrawnState;