From 879202b9c2acc629e053000c7efaab616d1dd234 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 12 Apr 2011 10:37:51 -0400 Subject: [PATCH] GdkX11DragContext: Struct packing improvements --- gdk/x11/gdkdnd-x11.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index fe9892a0f2..80467fabdb 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -84,6 +84,9 @@ struct _GdkX11DragContext GdkDragAction old_action; /* The last action we sent to the source */ GdkDragAction old_actions; /* The last actions we sent to the source */ GdkDragAction xdnd_actions; /* What is currently set in XdndActionList */ + guint version; /* Xdnd protocol version */ + + GSList *window_caches; Window dest_xid; /* The last window we looked up */ Window drop_xid; /* The (non-proxied) window that is receiving drops */ @@ -92,11 +95,7 @@ struct _GdkX11DragContext guint xdnd_have_actions : 1; /* Whether an XdndActionList was provided */ guint motif_targets_set : 1; /* Whether we've already set motif initiator info */ guint drag_status : 4; /* current status of drag */ - guint drop_failed : 1; /* Whether the drop was unsuccessful */ - guint version; /* Xdnd protocol version */ - - GSList *window_caches; }; struct _GdkX11DragContextClass