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.224 by sf-exg, Wed May 30 19:30:57 2012 UTC vs.
Revision 1.225 by sf-exg, Wed May 30 21:20:05 2012 UTC

303 h_align = x; 303 h_align = x;
304 v_align = y; 304 v_align = y;
305 changed = true; 305 changed = true;
306 } 306 }
307 307
308 if (!(flags & IM_TILE) 308 if (is_size_sensitive ())
309 || h_scale || v_scale
310 || (!(flags & IM_ROOT_ALIGN) && (h_align || v_align)))
311 flags |= IM_IS_SIZE_SENSITIVE; 309 flags |= IM_IS_SIZE_SENSITIVE;
312 else 310 else
313 flags &= ~IM_IS_SIZE_SENSITIVE; 311 flags &= ~IM_IS_SIZE_SENSITIVE;
314 312
315 return changed; 313 return changed;
1221 while (bg_image != image_vec.end ()) 1219 while (bg_image != image_vec.end ())
1222 { 1220 {
1223 if (!(bg_image->flags & IM_IS_SET)) 1221 if (!(bg_image->flags & IM_IS_SET))
1224 bg_image = image_vec.erase (bg_image); 1222 bg_image = image_vec.erase (bg_image);
1225 else 1223 else
1224 {
1225 if (bg_image->is_size_sensitive ())
1226 bg_image->flags |= IM_IS_SIZE_SENSITIVE;
1227
1226 bg_image++; 1228 bg_image++;
1229 }
1227 } 1230 }
1228# endif 1231# endif
1229 1232
1230 if (image_vec.size () > 0 1233 if (image_vec.size () > 0
1231 && !bg_window_position_sensitive ()) 1234 && !bg_window_position_sensitive ())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines