summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <thomas@thurman.org.uk>2007-07-30 13:53:25 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2007-07-30 13:53:25 +0000
commit3802f157b6521222da153400f7320ba4f9532d99 (patch)
tree35d31d84c6e5ee6423c4c1ab5c6f7bed66d9b2b8
parenta871830927befd6349d10ad2afa7c0fce38ef9c3 (diff)
downloadmetacity-3802f157b6521222da153400f7320ba4f9532d99.tar.gz
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
-rw-r--r--ChangeLog5
-rw-r--r--src/window.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 894f8238..a34718c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/src/window.h b/src/window.h
index ec3d05a8..0d5c5683 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;