ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/main.C
(Generate patch)

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.231 by root, Sun Aug 27 10:14:47 2006 UTC vs.
Revision 1.232 by root, Tue May 1 21:30:01 2007 UTC

307{ 307{
308 HOOK_INVOKE ((this, HOOK_CHILD_EXIT, DT_INT, status, DT_END)); 308 HOOK_INVOKE ((this, HOOK_CHILD_EXIT, DT_INT, status, DT_END));
309 309
310 cmd_pid = 0; 310 cmd_pid = 0;
311 311
312 if (!OPTION (Opt_hold)) 312 if (!option (Opt_hold))
313 destroy (); 313 destroy ();
314} 314}
315 315
316void 316void
317rxvt_term::destroy () 317rxvt_term::destroy ()
481#ifdef KEYSYM_RESOURCE 481#ifdef KEYSYM_RESOURCE
482 keyboard->register_done (); 482 keyboard->register_done ();
483#endif 483#endif
484 484
485#ifdef HAVE_SCROLLBARS 485#ifdef HAVE_SCROLLBARS
486 if (OPTION (Opt_scrollBar)) 486 if (option (Opt_scrollBar))
487 scrollBar.setIdle (); /* set existence for size calculations */ 487 scrollBar.setIdle (); /* set existence for size calculations */
488#endif 488#endif
489 489
490 pty = ptytty::create (); 490 pty = ptytty::create ();
491 491
498#if 0 498#if 0
499 XSynchronize (dpy, True); 499 XSynchronize (dpy, True);
500#endif 500#endif
501 501
502#ifdef HAVE_SCROLLBARS 502#ifdef HAVE_SCROLLBARS
503 if (OPTION (Opt_scrollBar)) 503 if (option (Opt_scrollBar))
504 resize_scrollbar (); /* create and map scrollbar */ 504 resize_scrollbar (); /* create and map scrollbar */
505#endif 505#endif
506#ifdef TRANSPARENT 506#ifdef TRANSPARENT
507 if (OPTION (Opt_transparent)) 507 if (option (Opt_transparent))
508 { 508 {
509 XSelectInput (dpy, display->root, PropertyChangeMask); 509 XSelectInput (dpy, display->root, PropertyChangeMask);
510 check_our_parents (); 510 check_our_parents ();
511 rootwin_ev.start (display, display->root); 511 rootwin_ev.start (display, display->root);
512 } 512 }
709 if (scrollBar.state) 709 if (scrollBar.state)
710 { 710 {
711 sb_w = scrollbar_TotalWidth (); 711 sb_w = scrollbar_TotalWidth ();
712 szHint.base_width += sb_w; 712 szHint.base_width += sb_w;
713 713
714 if (!OPTION (Opt_scrollBar_right)) 714 if (!option (Opt_scrollBar_right))
715 window_vt_x += sb_w; 715 window_vt_x += sb_w;
716 } 716 }
717 717
718 szHint.width_inc = fwidth; 718 szHint.width_inc = fwidth;
719 szHint.height_inc = fheight; 719 szHint.height_inc = fheight;
740 { 740 {
741 min_it (height, max_height); 741 min_it (height, max_height);
742 szHint.height = szHint.base_height + height; 742 szHint.height = szHint.base_height + height;
743 } 743 }
744 744
745 if (scrollBar.state && OPTION (Opt_scrollBar_right)) 745 if (scrollBar.state && option (Opt_scrollBar_right))
746 window_sb_x = szHint.width - sb_w; 746 window_sb_x = szHint.width - sb_w;
747 747
748 if (recalc_x) 748 if (recalc_x)
749 szHint.x += DisplayWidth (dpy, display->screen) - szHint.width - 2 * ext_bwidth; 749 szHint.x += DisplayWidth (dpy, display->screen) - szHint.width - 2 * ext_bwidth;
750 750

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines