From d4417eb006d9957f63809c1d6724b5fae65bdc5c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 4 Apr 2008 17:56:23 +0000 Subject: [PATCH] (struct frame): Give one more bit to `visible' since we use values larger than 1 to indicate obscured frames on ttys. --- src/ChangeLog | 3 +++ src/frame.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e8cc705a23c..932dac65ad6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2008-04-04 Stefan Monnier + * frame.h (struct frame): Give one more bit to `visible' since we use + values larger than 1 to indicate obscured frames on ttys. + * keymap.c (Qkeymap_canonicalize): New var. (Fmap_keymap_internal): New fun. (describe_map): Use keymap-canonicalize. diff --git a/src/frame.h b/src/frame.h index cb0916f7803..d18f5aedcba 100644 --- a/src/frame.h +++ b/src/frame.h @@ -392,7 +392,7 @@ struct frame These two are mutually exclusive. They might both be zero, if the frame has been made invisible without an icon. */ - unsigned char visible : 1; + unsigned char visible : 2; unsigned char iconified : 1; /* Let's not use bitfields for volatile variables. */ -- 2.39.5