10 int i, xx, yy, direction, ascent, descent, len;
13 if (event.xany.window != window) continue;
16 - XLookupString(&event, &c_buf, 1, &last_key, &status);
17 + XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
18 if ((last_key == XK_q) || (last_key == XK_Q))
20 XFillRectangle(display, window, clearGC, 0, 0, WIN_WIDTH,