properly watch for windows on other workspaces when mapping.
This commit is contained in:
parent
4bebd476c3
commit
74a4bc01a7
1 changed files with 4 additions and 3 deletions
|
@ -2612,11 +2612,12 @@ void BlackboxWindow::mapRequestEvent(const XMapRequestEvent *re) {
|
|||
#endif // DEBUG
|
||||
|
||||
/*
|
||||
Even thought 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.
|
||||
*/
|
||||
if (blackbox_attrib.workspace != screen->getCurrentWorkspaceID())
|
||||
current_state = WithdrawnState;
|
||||
if (blackbox_attrib.workspace != screen->getCurrentWorkspaceID() &&
|
||||
blackbox_attrib.workspace < screen->getWorkspaceCount())
|
||||
if (current_state == NormalState) current_state = WithdrawnState;
|
||||
|
||||
switch (current_state) {
|
||||
case IconicState:
|
||||
|
|
Loading…
Reference in a new issue