… | |
… | |
417 | { |
417 | { |
418 | if (GET_R->allowedxerror == -1) |
418 | if (GET_R->allowedxerror == -1) |
419 | GET_R->allowedxerror = event->error_code; |
419 | GET_R->allowedxerror = event->error_code; |
420 | else |
420 | else |
421 | { |
421 | { |
422 | //TODO: GET_R is most likely not the terminal which caused the error |
422 | // GET_R is most likely not the terminal which caused the error, |
423 | //TODO: maybe just output the error and continue? |
423 | // so just output the error and continue |
424 | #if ENABLE_FRILLS |
424 | #if ENABLE_FRILLS |
425 | print_x_error (display, event); |
425 | print_x_error (display, event); |
426 | #else |
426 | #else |
427 | old_xerror_handler (display, event); |
427 | old_xerror_handler (display, event); |
428 | #endif |
428 | #endif |