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

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.270 by root, Tue Jun 26 00:40:19 2007 UTC vs.
Revision 1.272 by root, Fri Aug 10 23:52:12 2007 UTC

161{ 161{
162#if ENABLE_OVERLAY 162#if ENABLE_OVERLAY
163 scr_overlay_off (); 163 scr_overlay_off ();
164#endif 164#endif
165 165
166 rvideo_mode = false;
166 view_start = 0; 167 view_start = 0;
167 num_scr = 0; 168 num_scr = 0;
168 169
169 if (ncol == 0) 170 if (ncol == 0)
170 ncol = 80; 171 ncol = 80;
237 selection.text = NULL; 238 selection.text = NULL;
238 selection.len = 0; 239 selection.len = 0;
239 selection.op = SELECTION_CLEAR; 240 selection.op = SELECTION_CLEAR;
240 selection.screen = PRIMARY; 241 selection.screen = PRIMARY;
241 selection.clicks = 0; 242 selection.clicks = 0;
242 rvideo_state = rvideo_mode = false;
243 } 243 }
244 else 244 else
245 { 245 {
246 /* 246 /*
247 * add or delete rows as appropriate 247 * add or delete rows as appropriate
1648 if (rvideo_state != on) 1648 if (rvideo_state != on)
1649 { 1649 {
1650 rvideo_state = on; 1650 rvideo_state = on;
1651 1651
1652 ::swap (pix_colors[Color_fg], pix_colors[Color_bg]); 1652 ::swap (pix_colors[Color_fg], pix_colors[Color_bg]);
1653#if XPM_BACKGROUND 1653#ifdef HAVE_BG_PIXMAP
1654 if (bgPixmap.pixmap == None) 1654 if (bgPixmap.pixmap == None)
1655#endif 1655#endif
1656#if ENABLE_TRANSPARENCY 1656#if ENABLE_TRANSPARENCY
1657 if (!option (Opt_transparent) || am_transparent == 0) 1657 if (!option (Opt_transparent) || am_transparent == 0)
1658#endif 1658#endif
1914 1914
1915 bell_ev.start (NOW + VISUAL_BELL_DURATION); 1915 bell_ev.start (NOW + VISUAL_BELL_DURATION);
1916 } 1916 }
1917 else 1917 else
1918 XBell (dpy, 0); 1918 XBell (dpy, 0);
1919
1920#endif 1919#endif
1921} 1920}
1922 1921
1923/* ------------------------------------------------------------------------- */ 1922/* ------------------------------------------------------------------------- */
1924/* ARGSUSED */ 1923/* ARGSUSED */
2005 * A: set up vars 2004 * A: set up vars
2006 */ 2005 */
2007 have_bg = 0; 2006 have_bg = 0;
2008 refresh_count = 0; 2007 refresh_count = 0;
2009 2008
2010#if XPM_BACKGROUND 2009#ifdef HAVE_BG_PIXMAP
2011 have_bg |= bgPixmap.pixmap != None; 2010 have_bg |= bgPixmap.pixmap != None;
2012#endif 2011#endif
2013#if ENABLE_TRANSPARENCY 2012#if ENABLE_TRANSPARENCY
2014 have_bg |= option (Opt_transparent) && am_transparent; 2013 have_bg |= option (Opt_transparent) && am_transparent;
2015#endif 2014#endif
2485{ 2484{
2486 if (1 2485 if (1
2487#if ENABLE_TRANSPARENCY 2486#if ENABLE_TRANSPARENCY
2488 && !am_transparent 2487 && !am_transparent
2489#endif 2488#endif
2490#if XPM_BACKGROUND 2489#ifdef HAVE_BG_PIXMAP
2491 && !bgPixmap.pixmap 2490 && !bgPixmap.pixmap
2492#endif 2491#endif
2493 ) 2492 )
2494 { 2493 {
2495 XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); 2494 XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines