… | |
… | |
267 | NULL, // Color_underline |
267 | NULL, // Color_underline |
268 | #endif |
268 | #endif |
269 | #ifdef OPTION_HC |
269 | #ifdef OPTION_HC |
270 | NULL, |
270 | NULL, |
271 | #endif |
271 | #endif |
272 | #ifdef HAVE_SCROLLBARS |
|
|
273 | COLOR_SCROLLBAR, |
272 | COLOR_SCROLLBAR, |
274 | #endif |
|
|
275 | #ifdef RXVT_SCROLLBAR |
273 | #ifdef RXVT_SCROLLBAR |
276 | COLOR_SCROLLTROUGH, |
274 | COLOR_SCROLLTROUGH, |
277 | #endif |
275 | #endif |
278 | #if ENABLE_TRANSPARENCY |
276 | #if ENABLE_TRANSPARENCY |
279 | NULL, |
277 | NULL, |
… | |
… | |
487 | # else |
485 | # else |
488 | rs[Rs_delete_key] = "\033[3~"; |
486 | rs[Rs_delete_key] = "\033[3~"; |
489 | # endif |
487 | # endif |
490 | #endif |
488 | #endif |
491 | |
489 | |
492 | #ifdef HAVE_SCROLLBARS |
|
|
493 | setup_scrollbar (rs[Rs_scrollBar_align], rs[Rs_scrollstyle], rs[Rs_scrollBar_thickness]); |
490 | setup_scrollbar (rs[Rs_scrollBar_align], rs[Rs_scrollstyle], rs[Rs_scrollBar_thickness]); |
494 | #endif |
|
|
495 | |
491 | |
496 | #ifdef XTERM_REVERSE_VIDEO |
492 | #ifdef XTERM_REVERSE_VIDEO |
497 | /* this is how xterm implements reverseVideo */ |
493 | /* this is how xterm implements reverseVideo */ |
498 | if (option (Opt_reverseVideo)) |
494 | if (option (Opt_reverseVideo)) |
499 | { |
495 | { |
… | |
… | |
555 | |
551 | |
556 | #ifdef KEYSYM_RESOURCE |
552 | #ifdef KEYSYM_RESOURCE |
557 | keyboard->register_done (); |
553 | keyboard->register_done (); |
558 | #endif |
554 | #endif |
559 | |
555 | |
560 | #ifdef HAVE_SCROLLBARS |
|
|
561 | if (option (Opt_scrollBar)) |
556 | if (option (Opt_scrollBar)) |
562 | scrollBar.setIdle (); /* set existence for size calculations */ |
557 | scrollBar.setIdle (); /* set existence for size calculations */ |
563 | #endif |
|
|
564 | |
558 | |
565 | pty = ptytty::create (); |
559 | pty = ptytty::create (); |
566 | |
560 | |
567 | create_windows (argc, argv); |
561 | create_windows (argc, argv); |
568 | |
562 | |
… | |
… | |
572 | |
566 | |
573 | #if 0 |
567 | #if 0 |
574 | XSynchronize (dpy, True); |
568 | XSynchronize (dpy, True); |
575 | #endif |
569 | #endif |
576 | |
570 | |
577 | #ifdef HAVE_SCROLLBARS |
|
|
578 | if (option (Opt_scrollBar)) |
571 | if (option (Opt_scrollBar)) |
579 | resize_scrollbar (); /* create and map scrollbar */ |
572 | resize_scrollbar (); /* create and map scrollbar */ |
580 | #endif |
|
|
581 | #ifdef HAVE_BG_PIXMAP |
573 | #ifdef HAVE_BG_PIXMAP |
582 | { |
574 | { |
583 | bgPixmap.set_target (this); |
575 | bgPixmap.set_target (this); |
584 | bgPixmap.invalidate (); |
576 | bgPixmap.invalidate (); |
585 | |
577 | |