ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.C
(Generate patch)

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.4 by ayin, Fri Sep 14 09:38:33 2007 UTC vs.
Revision 1.5 by sasha, Tue Sep 18 22:01:36 2007 UTC

1217# if HAVE_SCROLLBARS 1217# if HAVE_SCROLLBARS
1218 if (target->scrollBar.win) 1218 if (target->scrollBar.win)
1219 XSetWindowBackground (target->dpy, target->scrollBar.win, target->pix_colors[Color_border]); 1219 XSetWindowBackground (target->dpy, target->scrollBar.win, target->pix_colors[Color_border]);
1220# endif 1220# endif
1221 } 1221 }
1222 1222 /* don't want Expose on the parent or vt. It is better to use
1223 /* don't want Expose on the parent */ 1223 scr_touch or we get a great deal of flicker otherwise: */
1224 XClearArea (target->dpy, target->parent[0], 0, 0, 0, 0, False); 1224 XClearWindow (target->dpy, target->parent[0]);
1225 /* do want Expose on the vt, so we get refreshed properly */
1226 XClearArea (target->dpy, target->vt, 0, 0, 0, 0, True);
1227 1225
1228# if HAVE_SCROLLBARS 1226# if HAVE_SCROLLBARS
1229 if (target->scrollBar.win) 1227 if (target->scrollBar.win)
1230 { 1228 {
1231 target->scrollBar.setIdle (); 1229 target->scrollBar.setIdle ();
1232 target->scrollbar_show (0); 1230 target->scrollbar_show (0);
1233 } 1231 }
1234# endif 1232# endif
1233
1234 target->want_refresh = 1;
1235 flags |= hasChanged;
1235 } 1236 }
1236} 1237}
1237 1238
1238#endif /* HAVE_BG_PIXMAP */ 1239#endif /* HAVE_BG_PIXMAP */
1239 1240

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines