summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-09 13:46:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-12 16:44:07 +1000
commit9d92265081830b700926b4a7b73975dd65217551 (patch)
tree4479245a9f3610ffd7b48d8fcfc5ac97e9fade34 /include
parent4dacd34cc05054a0ab26621aaec8125b2ffe5bbf (diff)
Remove padding from XIEvent.
The padding was originally to force the same size as the XEvent struct. This only works on 32 bit however, the 64-bit XEvent struct is larger. Let's just ignore the padding, there's no point to it anyway, all the Xlib functions require XEvents anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index e4e2e34..f5a318c 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -152,7 +152,6 @@ typedef struct
/**
* Generic XI2 event. All XI2 events have the same header.
- * Note: this event is padded to be the same size as libX11's XEvent.
*/
typedef struct {
int type; /* GenericEvent */
@@ -162,7 +161,6 @@ typedef struct {
int extension; /* XI extension offset */
int evtype;
Time time;
- char pad[68]; /* force same size as XEvent */
} XIEvent;