Package: icewm
Version: 1.2.35-1
Followup-For: Bug #354434
It's two bugs, actually.
1. 1-bit XWMHints icons are rendered improperly (xcalc, xclock).
instead of being black and white, they are black and amost black
(RGBA value of "white" is 0,0,1,255).
Here is a patch for this issue (against icewm-1.2.37):
diff -r dcf7aaedd3eb wmframe.cc
--- a/wmframe.cc Mon Mar 09 19:09:16 2009 +0600
+++ b/wmframe.cc Mon Mar 09 21:01:35 2009 +0600
@@ -2345,19 +2345,20 @@
ref<YPixmap> img(new YPixmap(w, h));
Graphics g(img, 0, 0);
- g.setColorPixel(1);
+ g.setColorPixel(0xffffff);
g.fillRect(0, 0, w, h);
g.setColorPixel(0);
g.setClipMask(pixmap);
After this black-and-white icons of xcalc/xclock are shown properly,
and psi/skype icons are no longer black (still no color, but not black).
2. fullcolor icons exported in _NET_WM_ICON property (modern Qt4
applications - skype, psi) are not handled by icewm 1.2, and it never
supported this. Upstream has this feature in 1.3 branch.
I'll try to backport it into 1.2.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]