From 1249cf5e1081c13abb2ce7da477d3e95c6682cef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 25 Jul 2019 14:43:10 +0200 Subject: Improve packing of PuglViewImpl --- pugl/pugl_internal_types.h | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/pugl/pugl_internal_types.h b/pugl/pugl_internal_types.h index 9e718ee..c065902 100644 --- a/pugl/pugl_internal_types.h +++ b/pugl/pugl_internal_types.h @@ -46,28 +46,25 @@ typedef struct { /** Cross-platform view definition. */ struct PuglViewImpl { + PuglInternals* impl; PuglHandle handle; PuglEventFunc eventFunc; - - PuglInternals* impl; - char* windowClass; PuglNativeWindow parent; - PuglContextType ctx_type; double start_time; uintptr_t transient_parent; - - PuglHints hints; - int width; - int height; - int min_width; - int min_height; - int min_aspect_x; - int min_aspect_y; - int max_aspect_x; - int max_aspect_y; - bool ignoreKeyRepeat; - bool visible; + PuglContextType ctx_type; + PuglHints hints; + int width; + int height; + int min_width; + int min_height; + int min_aspect_x; + int min_aspect_y; + int max_aspect_x; + int max_aspect_y; + bool ignoreKeyRepeat; + bool visible; }; /** Opaque surface used by draw context. */ -- cgit v1.2.1