Sat Apr 28 12:08:56 PDT 2001 Michael Jennings <mej@eterm.org>

Fixed handling of color modifiers for transparency in the disabled
	state.  Bug pointed out by Hans Engren <h@ns.engren.org>.


SVN revision: 4676
This commit is contained in:
Michael Jennings 2001-04-28 19:10:26 +00:00
parent 822fb531ff
commit 0f0b050510
2 changed files with 7 additions and 1 deletions

View File

@ -4077,3 +4077,9 @@ Mon Mar 5 13:38:01 PST 2001 Michael Jennings <mej@eterm.org>
Fix for NetBSD from Marc Bevand <bevand_m@epita.fr>.
-------------------------------------------------------------------------------
Sat Apr 28 12:08:56 PDT 2001 Michael Jennings <mej@eterm.org>
Fixed handling of color modifiers for transparency in the disabled
state. Bug pointed out by Hans Engren <h@ns.engren.org>.
-------------------------------------------------------------------------------

View File

@ -563,7 +563,7 @@ create_trans_pixmap(simage_t *simg, unsigned char which, Drawable d, int x, int
D_PIXMAP(("Copying %hux%hu rectangle at %d, %d from %ux%u desktop pixmap 0x%08x onto p.\n", width, height, x, y, pw, ph, desktop_pixmap));
XCopyArea(Xdisplay, desktop_pixmap, p, gc, x, y, width, height, 0, 0);
}
if ((which != image_bg || (image_toggles & IMOPT_ITRANS)) && need_colormod(simg->iml)) {
if ((which != image_bg || (image_toggles & IMOPT_ITRANS) || images[image_bg].current != images[image_bg].norm) && need_colormod(simg->iml)) {
colormod_trans(p, simg->iml, gc, width, height);
}
if (simg->iml->bevel != NULL) {