changeset 93667:f8942531c106

(struct frame): Give one more bit to `visible' since we use values larger than 1 to indicate obscured frames on ttys.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 04 Apr 2008 17:56:23 +0000
parents 4005595ecc01
children 2368e43fd306
files src/ChangeLog src/frame.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Apr 04 17:38:44 2008 +0000
+++ b/src/ChangeLog	Fri Apr 04 17:56:23 2008 +0000
@@ -1,5 +1,8 @@
 2008-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* 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.
--- a/src/frame.h	Fri Apr 04 17:38:44 2008 +0000
+++ b/src/frame.h	Fri Apr 04 17:56:23 2008 +0000
@@ -392,7 +392,7 @@
 
      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.  */