… | |
… | |
274 | |
274 | |
275 | delete pix_colors_focused; |
275 | delete pix_colors_focused; |
276 | #if OFF_FOCUS_FADING |
276 | #if OFF_FOCUS_FADING |
277 | delete pix_colors_unfocused; |
277 | delete pix_colors_unfocused; |
278 | #endif |
278 | #endif |
|
|
279 | #if USE_XGETDEFAULT |
|
|
280 | XrmDestroyDatabase (xrmdatabase); |
|
|
281 | #endif |
279 | |
282 | |
280 | displays.put (display); |
283 | displays.put (display); |
281 | |
284 | |
282 | scr_release (); |
285 | scr_release (); |
283 | |
286 | |
… | |
… | |
613 | /* signal (SIGURG, SIG_DFL); */ |
616 | /* signal (SIGURG, SIG_DFL); */ |
614 | |
617 | |
615 | old_xerror_handler = XSetErrorHandler ((XErrorHandler) rxvt_xerror_handler); |
618 | old_xerror_handler = XSetErrorHandler ((XErrorHandler) rxvt_xerror_handler); |
616 | // TODO: handle this with exceptions and tolerate the memory loss |
619 | // TODO: handle this with exceptions and tolerate the memory loss |
617 | XSetIOErrorHandler (rxvt_xioerror_handler); |
620 | XSetIOErrorHandler (rxvt_xioerror_handler); |
|
|
621 | |
|
|
622 | #ifdef USE_XGETDEFAULT |
|
|
623 | XrmInitialize (); |
|
|
624 | #endif |
618 | } |
625 | } |
619 | |
626 | |
620 | /* ------------------------------------------------------------------------- * |
627 | /* ------------------------------------------------------------------------- * |
621 | * MEMORY ALLOCATION WRAPPERS * |
628 | * MEMORY ALLOCATION WRAPPERS * |
622 | * ------------------------------------------------------------------------- */ |
629 | * ------------------------------------------------------------------------- */ |