do not leave stale oplock behind
deiconify'ing a client on a different workspace left an oplock by a shortcut return, turning the client semi- to inaccessible BUG: 1010
This commit is contained in:
parent
9d34cdbfa9
commit
2aba567ea6
1 changed files with 3 additions and 1 deletions
|
@ -1430,8 +1430,10 @@ void FluxboxWindow::deiconify(bool do_raise) {
|
|||
}
|
||||
}
|
||||
|
||||
if (m_workspace_number != screen().currentWorkspaceID())
|
||||
if (m_workspace_number != screen().currentWorkspaceID()) {
|
||||
oplock = false;
|
||||
return;
|
||||
}
|
||||
|
||||
show();
|
||||
|
||||
|
|
Loading…
Reference in a new issue