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.347 by sasha, Wed Aug 15 22:41:52 2007 UTC vs.
Revision 1.348 by sasha, Thu Aug 16 21:26:20 2007 UTC

1474 && ev.xfocus.mode != NotifyGrab) 1474 && ev.xfocus.mode != NotifyGrab)
1475 focus_out (); 1475 focus_out ();
1476 break; 1476 break;
1477 1477
1478 case ConfigureNotify: 1478 case ConfigureNotify:
1479/* fprintf (stderr, "ConfigureNotify for %X, parent is %X, geom is %dx%d%+d%+d, old geom was %dx%d\n",
1480 ev.xconfigure.window, parent[0], ev.xconfigure.width, ev.xconfigure.height, ev.xconfigure.x, ev.xconfigure.y,
1481 szHint.width, szHint.height);*/
1479 if (ev.xconfigure.window == parent[0]) 1482 if (ev.xconfigure.window == parent[0])
1480 { 1483 {
1481 while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev)) 1484 while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev))
1482 ; 1485 ;
1483 1486
1488 } 1491 }
1489 else 1492 else
1490 { 1493 {
1491#ifdef ENABLE_TRANSPARENCY 1494#ifdef ENABLE_TRANSPARENCY
1492 if (option (Opt_transparent)) 1495 if (option (Opt_transparent))
1493 if (bgPixmap.render ()) 1496 update_background ();
1494 scr_touch (false);
1495#endif 1497#endif
1496 } 1498 }
1497 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END)); 1499 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END));
1498 } 1500 }
1499 break; 1501 break;
1827 */ 1829 */
1828 if (ev.xproperty.atom == xa[XA_XROOTPMAP_ID] 1830 if (ev.xproperty.atom == xa[XA_XROOTPMAP_ID]
1829 || ev.xproperty.atom == xa[XA_ESETROOT_PMAP_ID]) 1831 || ev.xproperty.atom == xa[XA_ESETROOT_PMAP_ID])
1830 { 1832 {
1831 bgPixmap.set_root_pixmap (); 1833 bgPixmap.set_root_pixmap ();
1832 bgPixmap.render (); 1834 update_background ();
1833 } 1835 }
1834 break; 1836 break;
1835 } 1837 }
1836# endif 1838# endif
1837} 1839}
3428 if (ISSET_PIXCOLOR (Color_tint)) 3430 if (ISSET_PIXCOLOR (Color_tint))
3429 changed = bgPixmap.set_tint (pix_colors_focused [Color_tint]); 3431 changed = bgPixmap.set_tint (pix_colors_focused [Color_tint]);
3430 else 3432 else
3431 changed = bgPixmap.unset_tint (); 3433 changed = bgPixmap.unset_tint ();
3432 if (changed) 3434 if (changed)
3433 bgPixmap.render (); 3435 update_background ();
3434 } 3436 }
3435 3437
3436 break; 3438 break;
3437#endif 3439#endif
3438 3440
3467 if (bgPixmap.set_geometry (str)) 3469 if (bgPixmap.set_geometry (str))
3468 changed++; 3470 changed++;
3469 str = strchr (str, ';'); 3471 str = strchr (str, ';');
3470 } 3472 }
3471 if (changed) 3473 if (changed)
3472 { 3474 update_background ();
3473 bgPixmap.render ();
3474 scr_touch (true);
3475 }
3476 } 3475 }
3477 break; 3476 break;
3478#endif 3477#endif
3479 3478
3480 case Rxvt_restoreFG: 3479 case Rxvt_restoreFG:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines