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.384 by ayin, Tue Dec 18 13:07:55 2007 UTC vs.
Revision 1.385 by root, Mon Dec 24 06:51:37 2007 UTC

1457#ifdef HAVE_BG_PIXMAP 1457#ifdef HAVE_BG_PIXMAP
1458 if (bgPixmap.window_position_sensitive ()) 1458 if (bgPixmap.window_position_sensitive ())
1459 update_background (); 1459 update_background ();
1460#endif 1460#endif
1461 } 1461 }
1462
1462 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END)); 1463 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END));
1463 } 1464 }
1464 break; 1465 break;
1465 1466
1466 case PropertyNotify: 1467 case PropertyNotify:
1794 || ev.xproperty.atom == xa[XA_ESETROOT_PMAP_ID]) 1795 || ev.xproperty.atom == xa[XA_ESETROOT_PMAP_ID])
1795 { 1796 {
1796 bgPixmap.set_root_pixmap (); 1797 bgPixmap.set_root_pixmap ();
1797 update_background (); 1798 update_background ();
1798 } 1799 }
1800
1799 break; 1801 break;
1800 } 1802 }
1801# endif 1803# endif
1802 1804
1803 refresh_check (); 1805 refresh_check ();
3389#if ENABLE_TRANSPARENCY 3391#if ENABLE_TRANSPARENCY
3390 case URxvt_Color_tint: 3392 case URxvt_Color_tint:
3391 process_color_seq (op, Color_tint, str, resp); 3393 process_color_seq (op, Color_tint, str, resp);
3392 { 3394 {
3393 bool changed = false; 3395 bool changed = false;
3396
3394 if (ISSET_PIXCOLOR (Color_tint)) 3397 if (ISSET_PIXCOLOR (Color_tint))
3395 changed = bgPixmap.set_tint (pix_colors_focused [Color_tint]); 3398 changed = bgPixmap.set_tint (pix_colors_focused [Color_tint]);
3396 else 3399 else
3397 changed = bgPixmap.unset_tint (); 3400 changed = bgPixmap.unset_tint ();
3401
3398 if (changed) 3402 if (changed)
3399 update_background (); 3403 update_background ();
3400 } 3404 }
3401 3405
3402 break; 3406 break;
3425 changed++; 3429 changed++;
3426 str = strchr (str, ';'); 3430 str = strchr (str, ';');
3427 if (str == NULL) 3431 if (str == NULL)
3428 bgPixmap.set_defaultGeometry (); 3432 bgPixmap.set_defaultGeometry ();
3429 } 3433 }
3434
3430 while (str) 3435 while (str)
3431 { 3436 {
3432 str++; 3437 str++;
3433 if (bgPixmap.set_geometry (str)) 3438 if (bgPixmap.set_geometry (str))
3434 changed++; 3439 changed++;
3435 str = strchr (str, ';'); 3440 str = strchr (str, ';');
3436 } 3441 }
3442
3437 if (changed) 3443 if (changed)
3438 update_background (); 3444 update_background ();
3439 } 3445 }
3440 break; 3446 break;
3441#endif 3447#endif
3442 3448
3443 case Rxvt_restoreFG: 3449 case Rxvt_restoreFG:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines