Mon Apr 24 20:43:00 PDT 2000 Michael Jennings <mej@eterm.org>

Found the Imlib2 bug and fixed it, so revert this hack.


SVN revision: 2534
This commit is contained in:
Michael Jennings 2000-04-25 03:30:45 +00:00
parent cd259557d7
commit b3f1428d23
2 changed files with 7 additions and 5 deletions

View File

@ -3514,3 +3514,8 @@ Mon Apr 24 18:46:25 PDT 2000 Michael Jennings <mej@eterm.org>
fixed properly.
-------------------------------------------------------------------------------
Mon Apr 24 20:43:00 PDT 2000 Michael Jennings <mej@eterm.org>
Found the Imlib2 bug and fixed it, so revert this hack.
-------------------------------------------------------------------------------

View File

@ -1053,11 +1053,8 @@ render_simage(simage_t * simg, Window win, unsigned short width, unsigned short
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, 0, xscaled, yscaled);
rendered = 1;
/* FIXME: This is a hack around an apparent Imlib2 bug! */
if (which == image_up || which == image_down || which == image_st) {
if (simg->pmap->mask != None) {
shaped_window_apply_mask(win, simg->pmap->mask);
}
if (simg->pmap->mask != None) {
shaped_window_apply_mask(win, simg->pmap->mask);
}
if (simg->pmap->pixmap != None) {
if (pixmap != None) {