diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-08 15:42:58 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-12 16:33:50 +1000 |
commit | 79b1ee174bb08722198e6d00c9d1a1e9e9352b8a (patch) | |
tree | f957cc14c59dd277984b6260c9a1d9b0f57eaf21 /include | |
parent | 64a106509ba18506e88989571c1392d48ae18a54 (diff) |
Switch to new XIEvent structures - no need for pointers anymore.
This removes all those pointers from event structures that were just there
due to the pre-cookie struct size limit. Pointers remaining are only those
that are of variable length (e.g. masks and valuator states).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XInput2.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index 2cc3744..e4e2e34 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -228,10 +228,10 @@ typedef struct { double root_y; double event_x; double event_y; - XIButtonState *buttons; - XIValuatorState *valuators; - XIModifierState *mods; - XIGroupState *group; + XIButtonState buttons; + XIValuatorState valuators; + XIModifierState mods; + XIGroupState group; } XIDeviceEvent; typedef struct { @@ -246,7 +246,7 @@ typedef struct { int deviceid; int sourceid; int eventtype; - XIValuatorState *valuators; + XIValuatorState valuators; double *raw_values; } XIRawEvent; @@ -271,9 +271,9 @@ typedef struct { int mode; Bool focus; Bool same_screen; - XIButtonState *buttons; - XIModifierState *mods; - XIGroupState *group; + XIButtonState buttons; + XIModifierState mods; + XIGroupState group; } XIEnterEvent; typedef XIEnterEvent XILeaveEvent; |