|
Scaling icons: msg#00012window-managers.icewm.devel
Hello, There's a bug in sourceforge (number 1537319) that says that scaling icon images with imlib doesn't work. I've got this problem with icewm 1.2.28, and it goes away for me when I apply this patch: --- wmframe.cc.orig 2006-11-13 13:47:47.000000000 +0000 +++ wmframe.cc 2006-11-13 14:28:47.000000000 +0000 @@ -2299,7 +2299,7 @@ ref<YPixmap> img(new YPixmap(w, h)); Graphics g(img, 0, 0); - g.setColorPixel(1); + g.setColor(activeBorderBg); g.fillRect(0, 0, w, h); g.setColorPixel(0); g.setClipMask(pixmap); The original call to setColorPixel() looks wrong to me: is it trying to draw the pixel in black on an almost-black background? I've not tried with the MIT-SHM extension disabled, so maybe there is more than one bug in this area? Regards, John Williams ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ icewm-Bugs-1581305 ] missing FD_CLOEXEC?: 00012, SourceForge.net |
|---|---|
| Next by Date: | My IceMW: 00012, Bert Wesarg |
| Previous by Thread: | [ icewm-Bugs-1581305 ] missing FD_CLOEXEC?i: 00012, SourceForge.net |
| Next by Thread: | My IceMW: 00012, Bert Wesarg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |