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.339 by ayin, Fri Aug 3 14:03:28 2007 UTC vs.
Revision 1.340 by sasha, Fri Aug 3 22:40:10 2007 UTC

1484 1484
1485 if (szHint.width != ev.xconfigure.width || szHint.height != ev.xconfigure.height) 1485 if (szHint.width != ev.xconfigure.width || szHint.height != ev.xconfigure.height)
1486 { 1486 {
1487 seen_resize = 1; 1487 seen_resize = 1;
1488 resize_all_windows (ev.xconfigure.width, ev.xconfigure.height, 1); 1488 resize_all_windows (ev.xconfigure.width, ev.xconfigure.height, 1);
1489#ifdef XPM_BACKGROUND 1489#ifdef HAVE_BG_PIXMAP
1490 /* TODO: replace with update_pixmap() that should unify transparency and bg image handling ! */
1490 if (!option (Opt_transparent) && bgPixmap.auto_resize) 1491 if (!option (Opt_transparent) && bgPixmap.window_size_sensitive ())
1491 { 1492 {
1492 resize_pixmap (); 1493 resize_pixmap ();
1493 scr_touch (true); 1494 scr_touch (true);
1494 } 1495 }
1495#endif 1496#endif
3448#if XPM_BACKGROUND 3449#if XPM_BACKGROUND
3449 case Rxvt_Pixmap: 3450 case Rxvt_Pixmap:
3450 { 3451 {
3451 if (*str != ';') 3452 if (*str != ';')
3452 { 3453 {
3453 scale_pixmap (""); /* reset to default scaling */ 3454 bgPixmap.handle_geometry (""); /* reset to default scaling */
3454 set_bgPixmap (str); /* change pixmap */ 3455 set_bgPixmap (str); /* change pixmap */
3455 scr_touch (true); 3456 scr_touch (true);
3456 } 3457 }
3457 3458
3458 int changed = 0; 3459 int changed = 0;
3459 3460
3460 while ((str = strchr (str, ';')) != NULL) 3461 while ((str = strchr (str, ';')) != NULL)
3461 { 3462 {
3462 str++; 3463 str++;
3463 changed += scale_pixmap (str); 3464 changed += bgPixmap.handle_geometry (str);
3464 } 3465 }
3465 3466
3466 if (changed) 3467 if (changed)
3467 { 3468 {
3468 resize_pixmap (); 3469 resize_pixmap ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines