emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109827: Change struct frame bitfield


From: Dmitry Antipov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109827: Change struct frame bitfields from unsigned char to unsigned.
Date: Fri, 31 Aug 2012 08:40:52 +0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109827
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Fri 2012-08-31 08:40:52 +0400
message:
  Change struct frame bitfields from unsigned char to unsigned.
  * frame.h (struct frame): Change type of 'display_preempted',
  'visible', 'iconified', 'has_minibuffer', 'wants_modeline',
  'auto_raise', 'auto_lower', 'no_split', 'explicit_name',
  'window_sizes_changed', 'mouse_moved' and 'pointer_invisible'
  bitfields from unsigned char to unsigned.
modified:
  src/ChangeLog
  src/frame.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-31 04:14:59 +0000
+++ b/src/ChangeLog     2012-08-31 04:40:52 +0000
@@ -1,5 +1,14 @@
 2012-08-31  Dmitry Antipov  <address@hidden>
 
+       Change struct frame bitfields from unsigned char to unsigned.
+       * frame.h (struct frame): Change type of 'display_preempted',
+       'visible', 'iconified', 'has_minibuffer', 'wants_modeline',
+       'auto_raise', 'auto_lower', 'no_split', 'explicit_name',
+       'window_sizes_changed', 'mouse_moved' and 'pointer_invisible'
+       bitfields from unsigned char to unsigned.
+
+2012-08-31  Dmitry Antipov  <address@hidden>
+
        Remove unused member of struct x_output and struct w32_output.
        * xterm.h (struct x_output): Remove unused field 'needs_exposure'.
        * w32term.h (struct w32_output): Likewise.

=== modified file 'src/frame.h'
--- a/src/frame.h       2012-08-28 00:33:56 +0000
+++ b/src/frame.h       2012-08-31 04:40:52 +0000
@@ -361,7 +361,7 @@
 #endif
 
   /* Nonzero if last attempt at redisplay on this frame was preempted.  */
-  unsigned char display_preempted : 1;
+  unsigned display_preempted : 1;
 
   /* visible is nonzero if the frame is currently displayed; we check
      it to see if we should bother updating the frame's contents.
@@ -391,8 +391,8 @@
 
      These two are mutually exclusive.  They might both be zero, if the
      frame has been made invisible without an icon.  */
-  unsigned char visible : 2;
-  unsigned char iconified : 1;
+  unsigned visible : 2;
+  unsigned iconified : 1;
 
   /* Let's not use bitfields for volatile variables.  */
 
@@ -406,40 +406,40 @@
 
   /* True if frame actually has a minibuffer window on it.
      0 if using a minibuffer window that isn't on this frame.  */
-  unsigned char has_minibuffer : 1;
+  unsigned has_minibuffer : 1;
 
   /* 0 means, if this frame has just one window,
      show no modeline for that window.  */
-  unsigned char wants_modeline : 1;
+  unsigned wants_modeline : 1;
 
   /* Non-zero if the hardware device this frame is displaying on can
      support scroll bars.  */
   char can_have_scroll_bars;
 
   /* Non-0 means raise this frame to the top of the heap when selected.  */
-  unsigned char auto_raise : 1;
+  unsigned auto_raise : 1;
 
   /* Non-0 means lower this frame to the bottom of the stack when left.  */
-  unsigned char auto_lower : 1;
+  unsigned auto_lower : 1;
 
   /* True if frame's root window can't be split.  */
-  unsigned char no_split : 1;
+  unsigned no_split : 1;
 
   /* If this is set, then Emacs won't change the frame name to indicate
      the current buffer, etcetera.  If the user explicitly sets the frame
      name, this gets set.  If the user sets the name to Qnil, this is
      cleared.  */
-  unsigned char explicit_name : 1;
+  unsigned explicit_name : 1;
 
   /* Nonzero if size of some window on this frame has changed.  */
-  unsigned char window_sizes_changed : 1;
+  unsigned window_sizes_changed : 1;
 
   /* Nonzero if the mouse has moved on this display device
      since the last time we checked.  */
-  unsigned char mouse_moved :1;
+  unsigned mouse_moved :1;
 
   /* Nonzero means that the pointer is invisible. */
-  unsigned char pointer_invisible :1;
+  unsigned pointer_invisible :1;
 
   /* If can_have_scroll_bars is non-zero, this is non-zero if we should
      actually display them on this frame.  */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]