… | |
… | |
300 | rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); |
300 | rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); |
301 | |
301 | |
302 | // using a local pointer decreases code size a lot |
302 | // using a local pointer decreases code size a lot |
303 | xa = display->xa; |
303 | xa = display->xa; |
304 | |
304 | |
|
|
305 | set (display); |
|
|
306 | extract_resources (); |
|
|
307 | |
305 | #if XFT |
308 | #if XFT |
306 | if (rs[Rs_depth]) |
309 | if (rs[Rs_depth]) |
307 | set (display, strtol (rs[Rs_depth], 0, 0)); |
310 | select_visual (strtol (rs[Rs_depth], 0, 0)); |
308 | else |
|
|
309 | #endif |
311 | #endif |
310 | set (display); |
|
|
311 | |
|
|
312 | extract_resources (); |
|
|
313 | |
312 | |
314 | free (r_argv); |
313 | free (r_argv); |
315 | |
314 | |
316 | for (int i = NUM_RESOURCES; i--; ) |
315 | for (int i = NUM_RESOURCES; i--; ) |
317 | if (rs [i] == resval_undef) |
316 | if (rs [i] == resval_undef) |
… | |
… | |
749 | alias_color (Color_topShadow, Color_White); |
748 | alias_color (Color_topShadow, Color_White); |
750 | } |
749 | } |
751 | #endif /* KEEP_SCROLLCOLOR */ |
750 | #endif /* KEEP_SCROLLCOLOR */ |
752 | |
751 | |
753 | #ifdef OFF_FOCUS_FADING |
752 | #ifdef OFF_FOCUS_FADING |
754 | if (rs[Rs_fade]) |
|
|
755 | for (i = 0; i < (depth <= 2 ? 2 : NRS_COLORS); i++) |
753 | for (i = 0; i < (depth <= 2 ? 2 : NRS_COLORS); i++) |
756 | { |
754 | update_fade_color (i); |
757 | rgba c; |
|
|
758 | pix_colors [Color_fade].get (c); |
|
|
759 | pix_colors_focused [i].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused[i],c); |
|
|
760 | } |
|
|
761 | #endif |
755 | #endif |
762 | } |
756 | } |
763 | |
757 | |
764 | /*----------------------------------------------------------------------*/ |
758 | /*----------------------------------------------------------------------*/ |
765 | /* color aliases, fg/bg bright-bold */ |
759 | /* color aliases, fg/bg bright-bold */ |