… | |
… | |
289 | |
289 | |
290 | delete pix_colors_focused; |
290 | delete pix_colors_focused; |
291 | #if OFF_FOCUS_FADING |
291 | #if OFF_FOCUS_FADING |
292 | delete pix_colors_unfocused; |
292 | delete pix_colors_unfocused; |
293 | #endif |
293 | #endif |
294 | #if USE_XGETDEFAULT |
|
|
295 | XrmDestroyDatabase (xrmdatabase); |
|
|
296 | #endif |
|
|
297 | |
294 | |
298 | displays.put (display); |
295 | displays.put (display); |
299 | |
296 | |
300 | scr_release (); |
297 | scr_release (); |
301 | |
298 | |
… | |
… | |
645 | |
642 | |
646 | old_xerror_handler = XSetErrorHandler ((XErrorHandler) rxvt_xerror_handler); |
643 | old_xerror_handler = XSetErrorHandler ((XErrorHandler) rxvt_xerror_handler); |
647 | // TODO: handle this with exceptions and tolerate the memory loss |
644 | // TODO: handle this with exceptions and tolerate the memory loss |
648 | XSetIOErrorHandler (rxvt_xioerror_handler); |
645 | XSetIOErrorHandler (rxvt_xioerror_handler); |
649 | |
646 | |
650 | #ifdef USE_XGETDEFAULT |
|
|
651 | XrmInitialize (); |
647 | XrmInitialize (); |
652 | #endif |
|
|
653 | } |
648 | } |
654 | |
649 | |
655 | /* ------------------------------------------------------------------------- * |
650 | /* ------------------------------------------------------------------------- * |
656 | * MEMORY ALLOCATION WRAPPERS * |
651 | * MEMORY ALLOCATION WRAPPERS * |
657 | * ------------------------------------------------------------------------- */ |
652 | * ------------------------------------------------------------------------- */ |