From 3802f157b6521222da153400f7320ba4f9532d99 Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Mon, 30 Jul 2007 13:53:25 +0000 Subject: [PATCH] Put all bitfields together to help with optimisation. Closes #450271 (for 2007-06-23 Thomas Thurman * src/window.h (MetaWindow): Put all bitfields together to help with optimisation. Closes #450271 (for real this time). svn path=/trunk/; revision=3281 --- ChangeLog | 5 +++++ src/window.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 894f8238c..a34718c79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-23 Thomas Thurman + + * src/window.h (MetaWindow): Put all bitfields together to + help with optimisation. Closes #450271 (for real this time). + 2007-07-23 Matthias Clasen * configure.in: diff --git a/src/window.h b/src/window.h index ec3d05a84..0d5c56839 100644 --- a/src/window.h +++ b/src/window.h @@ -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;