diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-06-30 13:20:51 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-07-01 17:42:14 (GMT) |
commit | 2aba567ea6c45d04d0f560e3f406fb396efe55e3 (patch) | |
tree | 4342486090fa552fe30c5258786247f7ac901944 /src | |
parent | 9d34cdbfa9a4e026cca504c7aec728ddfc86cbc6 (diff) | |
download | fluxbox-2aba567ea6c45d04d0f560e3f406fb396efe55e3.zip fluxbox-2aba567ea6c45d04d0f560e3f406fb396efe55e3.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 51f5d44..0aa4ec6 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1430,8 +1430,10 @@ void FluxboxWindow::deiconify(bool do_raise) { | |||
1430 | } | 1430 | } |
1431 | } | 1431 | } |
1432 | 1432 | ||
1433 | if (m_workspace_number != screen().currentWorkspaceID()) | 1433 | if (m_workspace_number != screen().currentWorkspaceID()) { |
1434 | oplock = false; | ||
1434 | return; | 1435 | return; |
1436 | } | ||
1435 | 1437 | ||
1436 | show(); | 1438 | show(); |
1437 | 1439 | ||