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.344 by root, Fri Aug 10 23:52:12 2007 UTC vs.
Revision 1.345 by sasha, Mon Aug 13 22:41:34 2007 UTC

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 XPM_BACKGROUND
1490 /* TODO: replace with update_pixmap() that should unify transparency and bg image handling ! */ 1490 /* TODO: replace with update_pixmap() that should unify transparency and bg image handling ! */
1491 if (!option (Opt_transparent) && bgPixmap.window_size_sensitive ()) 1491 if (!option (Opt_transparent) && bgPixmap.window_size_sensitive ())
1492 { 1492 {
1493 bgPixmap.render_background (); 1493 bgPixmap.render ();
1494 scr_touch (true); 1494 scr_touch (true);
1495 } 1495 }
1496#endif 1496#endif
1497 } 1497 }
1498 1498
1499 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END)); 1499 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END));
1500 1500
1501#ifdef ENABLE_TRANSPARENCY 1501#ifdef ENABLE_TRANSPARENCY
1502 if (option (Opt_transparent)) 1502 if (option (Opt_transparent))
1503 bgPixmap.render_background (); 1503 bgPixmap.render ();
1504#endif 1504#endif
1505 } 1505 }
1506 break; 1506 break;
1507 1507
1508 case PropertyNotify: 1508 case PropertyNotify:
1577 if (isScrollbarWindow (ev.xany.window)) 1577 if (isScrollbarWindow (ev.xany.window))
1578 { 1578 {
1579 scrollBar.setIdle (); 1579 scrollBar.setIdle ();
1580 scrollbar_show (0); 1580 scrollbar_show (0);
1581 } 1581 }
1582
1583#ifdef ENABLE_TRANSPARENCY
1584 if (am_transparent && ev.xany.window == parent[0])
1585 XClearWindow (dpy, ev.xany.window);
1586#endif
1587 } 1582 }
1588 break; 1583 break;
1589 1584
1590 case MotionNotify: 1585 case MotionNotify:
1591#ifdef POINTER_BLANK 1586#ifdef POINTER_BLANK
1839 */ 1834 */
1840 if (ev.xproperty.atom == xa[XA_XROOTPMAP_ID] 1835 if (ev.xproperty.atom == xa[XA_XROOTPMAP_ID]
1841 || ev.xproperty.atom == xa[XA_ESETROOT_PMAP_ID]) 1836 || ev.xproperty.atom == xa[XA_ESETROOT_PMAP_ID])
1842 { 1837 {
1843 bgPixmap.set_root_pixmap (); 1838 bgPixmap.set_root_pixmap ();
1844 bgPixmap.render_background (); 1839 bgPixmap.render ();
1845 } 1840 }
1846 break; 1841 break;
1847 } 1842 }
1848# endif 1843# endif
1849} 1844}
3440 if (ISSET_PIXCOLOR (Color_tint)) 3435 if (ISSET_PIXCOLOR (Color_tint))
3441 changed = bgPixmap.set_tint (pix_colors_focused [Color_tint]); 3436 changed = bgPixmap.set_tint (pix_colors_focused [Color_tint]);
3442 else 3437 else
3443 changed = bgPixmap.unset_tint (); 3438 changed = bgPixmap.unset_tint ();
3444 if (changed) 3439 if (changed)
3445 {
3446 bgPixmap.render_background (); 3440 bgPixmap.render ();
3447 if (am_transparent)
3448 want_full_refresh = want_refresh = 1;
3449 }
3450 } 3441 }
3451 3442
3452 break; 3443 break;
3453#endif 3444#endif
3454 3445
3484 changed++; 3475 changed++;
3485 str = strchr (str, ';'); 3476 str = strchr (str, ';');
3486 } 3477 }
3487 if (changed) 3478 if (changed)
3488 { 3479 {
3489 bgPixmap.render_background (); 3480 bgPixmap.render ();
3490 scr_touch (true); 3481 scr_touch (true);
3491 } 3482 }
3492 } 3483 }
3493 break; 3484 break;
3494#endif 3485#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines