summarylogtreecommitdiffstats
path: root/0001-do-not-leave-stale-oplock-behind.patch
diff options
context:
space:
mode:
authorBlack_Codec2021-07-04 18:08:42 +0200
committerBlack_Codec2021-07-04 18:08:42 +0200
commit16fcc1cb997572ff33afa9f5511c89352574cca7 (patch)
treeb8f1d8b51562e94ffc977b8eb7f299c6512ab896 /0001-do-not-leave-stale-oplock-behind.patch
parent83eea40799ab8f65de3eb83abc31c061e95b1102 (diff)
downloadaur-16fcc1cb997572ff33afa9f5511c89352574cca7.tar.gz
minimal wm build
Diffstat (limited to '0001-do-not-leave-stale-oplock-behind.patch')
-rw-r--r--0001-do-not-leave-stale-oplock-behind.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0001-do-not-leave-stale-oplock-behind.patch b/0001-do-not-leave-stale-oplock-behind.patch
new file mode 100644
index 000000000000..813975649192
--- /dev/null
+++ b/0001-do-not-leave-stale-oplock-behind.patch
@@ -0,0 +1,29 @@
+From a5f3eb0d9987d4c0120da3431b73fb523ac0ecba Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebking@gmail.com>
+Date: Thu, 30 Jun 2016 15:20:51 +0200
+Subject: [PATCH] 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
+---
+ src/Window.cc | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/Window.cc b/src/Window.cc
+index 51f5d441..0aa4ec62 100644
+--- a/src/Window.cc
++++ b/src/Window.cc
+@@ -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();
+