diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-01-30 16:57:23 -0200 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-02-01 13:00:59 +1030 |
commit | e491b6e207c1efc2c07505671a634fc7cc7b127f (patch) | |
tree | c6c617805ec40e8f7fac0b56ca299cbe8904118a /src | |
parent | 17ae2bf9557e025f0e7d0d5f3afd1a89bcde9add (diff) |
Don't call xf86XInputSetSendCoreEvents
Only call that function if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0.
Diffstat (limited to 'src')
-rw-r--r-- | src/xf86Dyna.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xf86Dyna.c b/src/xf86Dyna.c index 69c9651..0a899f0 100644 --- a/src/xf86Dyna.c +++ b/src/xf86Dyna.c @@ -114,7 +114,9 @@ static const char *reqSymbols[] = { "xf86SetIntOption", "xf86SetStrOption", "xf86XInputSetScreen", +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 "xf86XInputSetSendCoreEvents", +#endif NULL }; @@ -494,11 +496,13 @@ SwitchMode (ClientPtr client, DeviceIntPtr dev, int mode) priv->reporting_mode = mode; return (Success); } +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 else if ((mode == SendCoreEvents) || (mode == DontSendCoreEvents)) { xf86XInputSetSendCoreEvents (pInfo, (mode == SendCoreEvents)); return (Success); } +#endif else return (!Success); } |