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

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.456 by sf-exg, Fri Oct 22 16:49:26 2010 UTC vs.
Revision 1.458 by sf-exg, Thu Nov 18 17:28:12 2010 UTC

975rxvt_term::flush () 975rxvt_term::flush ()
976{ 976{
977 flush_ev.stop (); 977 flush_ev.stop ();
978 978
979#ifdef HAVE_BG_PIXMAP 979#ifdef HAVE_BG_PIXMAP
980 if (bgPixmap.check_clearChanged ()) 980 if (bgPixmap.flags & bgPixmap_t::hasChanged)
981 { 981 {
982 bgPixmap.flags &= ~bgPixmap_t::hasChanged;
982// scr_clear (true); This needs to be researched further! 983// scr_clear (true); This needs to be researched further!
983 scr_touch (false); 984 scr_touch (false);
984 } 985 }
985#endif 986#endif
986 987
3447 { 3448 {
3448 int changed = 0; 3449 int changed = 0;
3449 3450
3450 if (*str != ';') 3451 if (*str != ';')
3451 { 3452 {
3452 /* reset to default scaling :*/
3453 bgPixmap.unset_geometry ();
3454 if (bgPixmap.set_file (str)) /* change pixmap */ 3453 if (bgPixmap.set_file (str)) /* change pixmap */
3455 changed++; 3454 changed++;
3456 str = strchr (str, ';'); 3455 str = strchr (str, ';');
3457 if (str == NULL) 3456 if (str == NULL)
3458 bgPixmap.set_defaultGeometry (); 3457 bgPixmap.set_defaultGeometry ();
3458 else
3459 bgPixmap.set_geometry (str+1);
3459 } 3460 }
3460 3461 else
3461 while (str)
3462 { 3462 {
3463 str++; 3463 str++;
3464 if (bgPixmap.set_geometry (str)) 3464 if (bgPixmap.set_geometry (str, true))
3465 changed++; 3465 changed++;
3466 str = strchr (str, ';');
3467 } 3466 }
3468 3467
3469 if (changed) 3468 if (changed)
3470 update_background (); 3469 update_background ();
3471 } 3470 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines