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.338 by ayin, Tue Jul 31 17:39:39 2007 UTC vs.
Revision 1.339 by ayin, Fri Aug 3 14:03:28 2007 UTC

3443 want_full_refresh = want_refresh = 1; 3443 want_full_refresh = want_refresh = 1;
3444 3444
3445 break; 3445 break;
3446#endif 3446#endif
3447 3447
3448#if XPM_BACKGROUND
3448 case Rxvt_Pixmap: 3449 case Rxvt_Pixmap:
3449 { 3450 {
3450 if (*str != ';') 3451 if (*str != ';')
3451 { 3452 {
3452#if XPM_BACKGROUND
3453 scale_pixmap (""); /* reset to default scaling */ 3453 scale_pixmap (""); /* reset to default scaling */
3454 set_bgPixmap (str); /* change pixmap */ 3454 set_bgPixmap (str); /* change pixmap */
3455 scr_touch (true); 3455 scr_touch (true);
3456#endif
3457 } 3456 }
3458 3457
3459 int changed = 0; 3458 int changed = 0;
3460 3459
3461 while ((str = strchr (str, ';')) != NULL) 3460 while ((str = strchr (str, ';')) != NULL)
3462 { 3461 {
3463 str++; 3462 str++;
3464#if XPM_BACKGROUND
3465 changed += scale_pixmap (str); 3463 changed += scale_pixmap (str);
3466#endif
3467 } 3464 }
3468 3465
3469 if (changed) 3466 if (changed)
3470 { 3467 {
3471#ifdef XPM_BACKGROUND
3472 resize_pixmap (); 3468 resize_pixmap ();
3473 scr_touch (true); 3469 scr_touch (true);
3474#endif
3475 } 3470 }
3476#if ENABLE_TRANSPARENCY && defined(HAVE_AFTERIMAGE) 3471#if ENABLE_TRANSPARENCY && defined(HAVE_AFTERIMAGE)
3477 if (option (Opt_transparent)) 3472 if (option (Opt_transparent))
3478 check_our_parents (); 3473 check_our_parents ();
3479#endif 3474#endif
3480 } 3475 }
3481 break; 3476 break;
3477#endif
3482 3478
3483 case Rxvt_restoreFG: 3479 case Rxvt_restoreFG:
3484 set_window_color (Color_fg, str); 3480 set_window_color (Color_fg, str);
3485 break; 3481 break;
3486 case Rxvt_restoreBG: 3482 case Rxvt_restoreBG:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines