Mon Jul 23 11:05:45 2001 Michael Jennings (mej)

Well that was dumb.  PNG backgrounds which were tiled rather than
scaled would end up nuking most of the window.  Fixed now.


SVN revision: 4979
This commit is contained in:
Michael Jennings 2001-07-23 18:06:26 +00:00
parent 1d362467ee
commit e74bf73276
2 changed files with 8 additions and 4 deletions

View File

@ -4303,3 +4303,8 @@ Although I have yet to be able to reproduce it, I believe this will
fix Debian bug #104393. I don't think the lower parts of that array
were getting properly zeroed. :(
----------------------------------------------------------------------
Mon Jul 23 11:05:45 2001 Michael Jennings (mej)
Well that was dumb. PNG backgrounds which were tiled rather than
scaled would end up nuking most of the window. Fixed now.
----------------------------------------------------------------------

View File

@ -1067,9 +1067,6 @@ render_simage(simage_t *simg, Window win, unsigned short width, unsigned short h
D_PIXMAP(("Rendering image simg->iml->im [%8p] to %hdx%hd pixmap\n", simg->iml->im, xscaled, yscaled));
imlib_render_pixmaps_for_whole_image_at_size(&simg->pmap->pixmap, &simg->pmap->mask, xscaled, yscaled);
rendered = 1;
if (simg->pmap->mask != None) {
shaped_window_apply_mask(win, simg->pmap->mask);
}
if (simg->pmap->pixmap != None) {
IMLIB_REGISTER_PIXMAP(simg->pmap->pixmap);
if (pixmap != None && pixmap != simg->pmap->pixmap) {
@ -1100,7 +1097,9 @@ render_simage(simage_t *simg, Window win, unsigned short width, unsigned short h
simg->pmap->pixmap = LIBAST_X_CREATE_PIXMAP(width, height);
XCopyArea(Xdisplay, pixmap, simg->pmap->pixmap, gc, 0, 0, width, height, 0, 0);
IMLIB_FREE_PIXMAP(pixmap);
}
} else if (simg->pmap->mask != None) {
shaped_window_apply_mask(win, simg->pmap->mask);
}
if (simg->iml->bevel != NULL) {
bevel_pixmap(simg->pmap->pixmap, width, height, simg->iml->bevel->edges, simg->iml->bevel->up);
}