1

Problem using XLookupString

view story
linux-howto

http://www.unix.com – I am having trouble with the following function, giving the error Code: xbuplot.c: In function ‘void xbuevent_(float*, float*, int*, char*)’: xbuplot.c:694:65: error: cannot convert ‘XEvent* {aka _XEvent*}’ to ‘XKeyEvent*’ for argument ‘1’ to ‘int XLookupString(XKeyEvent*, char*, int, KeySym*, XComposeStatus*)’ make: *** [../pltlib/xbuplot.o] Error 1 Code: void xbuevent_ (   float* x_mm,   float* y_mm,  /*  position of cursor in mm  */   int* button,  /*  button that was pressed  */   char* key  /*  key that was (HowTos)