summaryrefslogtreecommitdiff
path: root/src/XIQueryVersion.c
AgeCommit message (Collapse)Author
2011-11-12Include config.h from source filesPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-09Don't unlock the Display twice.Jamey Sharp
_xiQueryVersion's caller must wrap it in a LockDisplay/UnlockDisplay pair, so it shouldn't call UnlockDisplay itself. Signed-off-by: Jamey Sharp <jamey@minilop.net>
2009-06-02Return BadRequest from XIQueryVersion if XI2 isn't supported.Peter Hutterer
XIQueryVersion (like all other calls) makes sure XGetExtensionVersion is called beforehand anyway. So if that doesn't match 2.0 or higher, return BadRquest before issuing the real request (which would trigger a BadRequest error). This way, clients can use XIQueryVersion without having to set up the error handler. XIQueryVersion is now guaranteed to return the server-supported version. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-14Label major/minor version in XIQueryVersion as _inout.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-19XIQueryVersion: ensure we unlock in all cases and return the status.Peter Hutterer
2009-04-19libxi: Unlock display after XIQueryVersionPaul "TBBle" Hampson
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-11Add XIQueryVersion() - query and announce the supported XI version.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>