From 0603fbc1d3b2db5c25faabbfb5e04914110b4d0e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 1 Apr 2009 12:46:51 -0700 Subject: [PATCH] XQuartz: Pad xAppleDRINotifyEvent to 32bytes to match sizeof(xEvent) (cherry picked from commit 276ee3bb087c772f57a987519aa4d94afeceadaa) --- hw/xquartz/xpr/appledristr.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/xquartz/xpr/appledristr.h b/hw/xquartz/xpr/appledristr.h index a3844f090..c569719b7 100644 --- a/hw/xquartz/xpr/appledristr.h +++ b/hw/xquartz/xpr/appledristr.h @@ -157,8 +157,11 @@ typedef struct _AppleDRINotify { CARD32 pad1 B32; CARD32 arg B32; CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; } xAppleDRINotifyEvent; -#define sz_xAppleDRINotifyEvent 20 +#define sz_xAppleDRINotifyEvent 32 typedef struct {