summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/screen/files/4.0.2-windowlist-multiuser-fix.patch')
-rw-r--r--app-misc/screen/files/4.0.2-windowlist-multiuser-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/screen/files/4.0.2-windowlist-multiuser-fix.patch b/app-misc/screen/files/4.0.2-windowlist-multiuser-fix.patch
new file mode 100644
index 000000000000..09848e93ef2e
--- /dev/null
+++ b/app-misc/screen/files/4.0.2-windowlist-multiuser-fix.patch
@@ -0,0 +1,12 @@
+diff -Nur screen-4.0.2.orig/process.c screen-4.0.2/process.c
+--- screen-4.0.2.orig/process.c 2003-09-18 14:53:54.000000000 +0200
++++ screen-4.0.2/process.c 2005-07-06 19:55:08.370772955 +0200
+@@ -4841,7 +4841,7 @@
+ s = buf;
+ for (display = displays; display; display = display->d_next)
+ {
+- if (D_user == olddisplay->d_user)
++ if (olddisplay && D_user == olddisplay->d_user)
+ continue;
+ for (cv = D_cvlist; cv; cv = cv->c_next)
+ if (Layer2Window(cv->c_layer) == p)