diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-24 22:57:00 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-25 11:57:37 -0400 |
commit | 73f4f518b88fa9145fc9ef71629d375aa1e702f0 (patch) | |
tree | 75f0c43318d12ddd65e851958589ae361a8dc0af /gdk/gdkdeviceprivate.h | |
parent | 6e9dbba130b37cbc538d1d3a14cdb64f6c904f43 (diff) | |
download | gtk+-73f4f518b88fa9145fc9ef71629d375aa1e702f0.tar.gz |
gdk: Improve struct packing in places
Plug some holes in our structs by rearranging
a few fields. This is was done looking at
pahole output.
Diffstat (limited to 'gdk/gdkdeviceprivate.h')
-rw-r--r-- | gdk/gdkdeviceprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h index 07184a3abe..93c7b7a558 100644 --- a/gdk/gdkdeviceprivate.h +++ b/gdk/gdkdeviceprivate.h @@ -40,13 +40,13 @@ struct _GdkDevice GdkInputSource source; gboolean has_cursor; GdkAxisFlags axis_flags; + GdkDeviceType type; GdkDisplay *display; /* The paired logical device for logical devices, * or the associated logical device for physical ones */ GdkDevice *associated; GList *physical_devices; - GdkDeviceType type; GArray *axes; guint num_touches; |