[gtk+] GdkX11DeviceXI: Struct packing improvements
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GdkX11DeviceXI: Struct packing improvements
- Date: Tue, 12 Apr 2011 16:51:08 +0000 (UTC)
commit cef996d57eadb62925cca952fda0b29715e0c511
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 12 10:37:08 2011 -0400
GdkX11DeviceXI: Struct packing improvements
gdk/x11/gdkdeviceprivate-xi.h | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gdk/x11/gdkdeviceprivate-xi.h b/gdk/x11/gdkdeviceprivate-xi.h
index 05df1ee..66fba40 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;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]