20defmonitor
Jan Christoph Nordholz <[email protected]> Sat, 4 Aug 2007 00:09:55 +0200
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <[email protected]> |
(see attachment)
20defmonitor.dpatch
(text/plain, 505 B)
--- screen-4.0.3.orig/process.c 2007-08-03 01:59:42.000000000 +0200
+++ screen-4.0.3/process.c 2007-08-03 02:03:36.000000000 +0200
@@ -1986,7 +1986,12 @@
WriteString(fore, "\033c", 2);
break;
case RC_MONITOR:
- n = fore->w_monitor != MON_OFF;
+#ifdef MULTIUSER
+ if (display)
+ n = !!(ACLBYTE(fore->w_mon_notify, D_user->u_id) & ACLBIT(D_user->u_id));
+ else
+#endif
+ n = fore->w_monitor != MON_OFF;
if (ParseSwitch(act, &n))
break;
if (n)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGs6ezJnGRgaR03R4RAiFrAKDefMJ3JEp5eT+c9yFTHdUAA1pt8wCfRnQI 4xqHObt41S3Ul4MFNnhtjwE= =IuHJ -----END PGP SIGNATURE-----