-
- if (event->type == ButtonPress)
- bonkp = True;
- else if (event->type == KeyPress)
- {
- KeySym keysym;
- char c = 0;
- XLookupString (&event->xkey, &c, 1, &keysym, 0);
- if (c == ' ' || c == '\t' || c == '\r' || c == '\n')
- bonkp = True;
- }
-
- if (bonkp)