From cef996d57eadb62925cca952fda0b29715e0c511 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 12 Apr 2011 10:37:08 -0400 Subject: [PATCH] GdkX11DeviceXI: Struct packing improvements --- gdk/x11/gdkdeviceprivate-xi.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gdk/x11/gdkdeviceprivate-xi.h b/gdk/x11/gdkdeviceprivate-xi.h index 05df1ee5ab..66fba4042f 100644 --- a/gdk/x11/gdkdeviceprivate-xi.h +++ b/gdk/x11/gdkdeviceprivate-xi.h @@ -33,9 +33,10 @@ struct _GdkX11DeviceXI { GdkDevice parent_instance; - /*< private >*/ - guint32 device_id; XDevice *xdevice; + gint *axis_data; + + guint32 device_id; gint button_press_type; gint button_release_type; @@ -46,9 +47,7 @@ struct _GdkX11DeviceXI gint proximity_out_type; gint state_notify_type; - /* minimum key code for device */ - gint min_keycode; - gint *axis_data; + gint min_keycode; /* minimum key code for device */ guint in_proximity : 1; };