… | |
… | |
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 |
… | |
… | |
847 | #endif |
847 | #endif |
848 | } |
848 | } |
849 | |
849 | |
850 | /*----------------------------------------------------------------------*/ |
850 | /*----------------------------------------------------------------------*/ |
851 | /* set_fonts () - load and set the various fonts |
851 | /* set_fonts () - load and set the various fonts |
852 | /* |
852 | * |
853 | * init = 1 - initialize |
853 | * init = 1 - initialize |
854 | * |
854 | * |
855 | * fontname == FONT_UP - switch to bigger font |
855 | * fontname == FONT_UP - switch to bigger font |
856 | * fontname == FONT_DN - switch to smaller font |
856 | * fontname == FONT_DN - switch to smaller font |
857 | */ |
857 | */ |
… | |
… | |
1551 | } |
1551 | } |
1552 | |
1552 | |
1553 | void |
1553 | void |
1554 | rxvt_term::im_cb () |
1554 | rxvt_term::im_cb () |
1555 | { |
1555 | { |
1556 | int i, found, had_im; |
1556 | int i; |
1557 | const char *p; |
1557 | const char *p; |
1558 | char **s; |
1558 | char **s; |
1559 | char buf[IMBUFSIZ]; |
1559 | char buf[IMBUFSIZ]; |
1560 | |
1560 | |
1561 | SET_R (this); |
1561 | SET_R (this); |