- printf ("%s: KeyPress seen on 0x%X at %s\n", blurb(),
- (unsigned int) event.xkey.window, timestring ());
+ fprintf (stderr, "%s: KeyPress seen on 0x%X at %s\n", blurb(),
+ (unsigned int) event.xkey.window, timestring ());
+ else if (event.xany.type == ButtonPress)
+ fprintf (stderr, "%s: ButtonPress seen on 0x%X at %s\n", blurb(),
+ (unsigned int) event.xbutton.window, timestring ());