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:
parent
822fb531ff
commit
0f0b050510
|
@ -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>.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue