diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-08-11 07:48:08 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-08-11 07:48:08 (GMT) |
commit | 1da473bab9fa7b18ae925f8e084465c4c81bc3c9 (patch) | |
tree | 955cf93c2fb168e0e146835b5313f535f16448a3 /data/keys | |
parent | 822c02e96a88a90540fa622afa5ab196b9ba5a7c (diff) | |
download | fluxbox-1da473bab9fa7b18ae925f8e084465c4c81bc3c9.zip fluxbox-1da473bab9fa7b18ae925f8e084465c4c81bc3c9.tar.bz2 |
Use _NET_WM_ICON from 32bit apps (xfce4-terminal) correctly
The icons coming from _NET_WM_ICON are argb32. fluxbox uses such icons
in entities such as 'clientmenu', 'iconbar', 'titlebar'. These entities
are not related to the depth of the winclient but to fluxbox's default
depth. Using 'winclient.depth()' is a mistake, since fluxbox is unable
to copy pixmaps from 32bit to 24/16/15bit.
It is not necessary either, because fluxbox should extract the argb32 icon
data directly into the pixmap with the correct depth in the first place.
This fixes (reopened) bug #1852693.
Note: The whole icon code in fluxbox is quite messy, lots of copying and
scaling. It might be simpler and fater to just extract the icon when needed
, in just the size that is needed.
Diffstat (limited to 'data/keys')
0 files changed, 0 insertions, 0 deletions