reduce user bits granularity

otherwise we end up with w_monitor still enabled after :monitor off

./screen
C-a :defmonitor on
C-a c
sleep 5 && echo -e "\a"
C-a c
C-a :monitor off
sleep 5 && echo -e "\a"
C-a 0
C-a :windowlist

it should render 1 and 2 window differently on windowlist
will need to be checked later, how it works with more than one user

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2017-07-31 13:27:43 +02:00
parent f99b9b8bc0
commit f5d11d9d22

View File

@@ -39,7 +39,7 @@
#define ACL_BITS_PER_CMD 1 /* for comm.h */
#define ACL_BITS_PER_WIN 3 /* for window.h */
#define USER_CHUNK 8
#define USER_CHUNK 1
#define ACLBYTE(data, w) ((data)[(w) >> 3])
#define ACLBIT(w) (0x80 >> ((w) & 7))