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.232 by root, Tue May 1 21:30:01 2007 UTC vs.
Revision 1.238 by sasha, Fri Aug 3 05:33:04 2007 UTC

148} 148}
149#endif 149#endif
150 150
151rxvt_term::rxvt_term () 151rxvt_term::rxvt_term ()
152 : 152 :
153#if TRANSPARENT || ENABLE_PERL 153#if ENABLE_TRANSPARENCY || ENABLE_PERL
154 rootwin_ev (this, &rxvt_term::rootwin_cb), 154 rootwin_ev (this, &rxvt_term::rootwin_cb),
155#endif
156#if ENABLE_TRANSPARENCY
157 check_our_parents_ev(this, &rxvt_term::check_our_parents_cb),
155#endif 158#endif
156#ifdef HAVE_SCROLLBARS 159#ifdef HAVE_SCROLLBARS
157 scrollbar_ev (this, &rxvt_term::x_cb), 160 scrollbar_ev (this, &rxvt_term::x_cb),
158#endif 161#endif
159#ifdef CURSOR_BLINK 162#ifdef CURSOR_BLINK
331 im_ev.stop (display); 334 im_ev.stop (display);
332#endif 335#endif
333#if HAVE_SCROLLBARS 336#if HAVE_SCROLLBARS
334 scrollbar_ev.stop (display); 337 scrollbar_ev.stop (display);
335#endif 338#endif
336#if TRANSPARENT || ENABLE_PERL 339#if ENABLE_TRANSPARENCY || ENABLE_PERL
337 rootwin_ev.stop (display); 340 rootwin_ev.stop (display);
338#endif 341#endif
339 incr_ev.stop (); 342 incr_ev.stop ();
340 termwin_ev.stop (display); 343 termwin_ev.stop (display);
341 vt_ev.stop (display); 344 vt_ev.stop (display);
501 504
502#ifdef HAVE_SCROLLBARS 505#ifdef HAVE_SCROLLBARS
503 if (option (Opt_scrollBar)) 506 if (option (Opt_scrollBar))
504 resize_scrollbar (); /* create and map scrollbar */ 507 resize_scrollbar (); /* create and map scrollbar */
505#endif 508#endif
506#ifdef TRANSPARENT 509#ifdef ENABLE_TRANSPARENCY
507 if (option (Opt_transparent)) 510 if (option (Opt_transparent))
508 { 511 {
509 XSelectInput (dpy, display->root, PropertyChangeMask); 512 XSelectInput (dpy, display->root, PropertyChangeMask);
510 check_our_parents (); 513 check_our_parents ();
511 rootwin_ev.start (display, display->root); 514 rootwin_ev.start (display, display->root);
627 return p; 630 return p;
628} 631}
629 632
630/*----------------------------------------------------------------------*/ 633/*----------------------------------------------------------------------*/
631/* 634/*
632 * window size/position calculcations for XSizeHint and other storage. 635 * window size/position calculations for XSizeHint and other storage.
633 * if width/height are non-zero then override calculated width/height 636 * if width/height are non-zero then override calculated width/height
634 */ 637 */
635void 638void
636rxvt_term::window_calc (unsigned int newwidth, unsigned int newheight) 639rxvt_term::window_calc (unsigned int newwidth, unsigned int newheight)
637{ 640{
1117 scr_reset (); 1120 scr_reset ();
1118 1121
1119 // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version 1122 // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version
1120 //scr_touch (false); 1123 //scr_touch (false);
1121 1124
1122#ifdef XPM_BACKGROUND 1125#if defined(XPM_BACKGROUND) || defined(ENABLE_TRANSPARENCY)
1123 if (pixmap) 1126 if (bgPixmap.pixmap)
1124 scr_touch (false); 1127 scr_touch (false);
1125#endif 1128#endif
1126 1129
1127#ifdef USE_XIM 1130#ifdef USE_XIM
1128 IMSetPosition (); 1131 IMSetPosition ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines