Put all bitfields together to help with optimisation. Closes #450271 (for

2007-06-23  Thomas Thurman  <thomas@thurman.org.uk>

        * src/window.h (MetaWindow): Put all bitfields together to
        help with optimisation. Closes #450271 (for real this time).


svn path=/trunk/; revision=3281
This commit is contained in:
Thomas Thurman 2007-07-30 13:53:25 +00:00 committed by Thomas James Alexander Thurman
parent a871830927
commit 3802f157b6
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-06-23 Thomas Thurman <thomas@thurman.org.uk>
* src/window.h (MetaWindow): Put all bitfields together to
help with optimisation. Closes #450271 (for real this time).
2007-07-23 Matthias Clasen <mclasen@redhat.com>
* configure.in:

View File

@ -263,9 +263,6 @@ struct _MetaWindow
*/
guint calc_placement : 1;
/* Note: can be NULL */
GSList *struts;
/* Transient parent is a root window */
guint transient_parent_is_root_window : 1;
@ -290,6 +287,9 @@ struct _MetaWindow
/* if TRUE, application is buggy and SYNC resizing is turned off */
guint disable_sync : 1;
/* Note: can be NULL */
GSList *struts;
#ifdef HAVE_XSYNC
/* XSync update counter */
XSyncCounter sync_request_counter;