Fix test for XI2 availability.

SVN revision: 81672
This commit is contained in:
Kim Woelders 2012-12-24 10:41:54 +00:00
parent ba7d9cc4a9
commit aa333a4c2b
1 changed files with 1 additions and 1 deletions

View File

@ -1032,7 +1032,7 @@ ESelectInput(Win win, unsigned int event_mask)
win->event_mask = event_mask;
if (Mode.server.extensions & XEXT_XI)
if (XEXT_AVAILABLE(XEXT_XI))
{
XIEventMask em;
unsigned char mask[(XI_LASTEVENT + 8) / 8];