Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed X11 XInput2 multitouch test to work in configure script.
configure wraps this C code in a main() function, so you can't declare a function body in there. Besides, I'm not sure why we declared a function that's part of the multitouch API anyhow. Now we just reference a type that only exists if the headers have multitouch support and call it a day.
- Loading branch information
|
||
int event_type = XI_TouchBegin; | ||
XITouchClassInfo *t; | ||
Status | ||
XIAllowTouchEvents(Display *a,int b,unsigned int c,Window d,int f) | ||
{ | ||
return (Status)0; | ||
} | ||
|
||
; | ||
return 0; |