aboutsummaryrefslogtreecommitdiff
path: root/src/tests/testKeys.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-08-11 07:48:08 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-08-11 07:48:08 (GMT)
commit1da473bab9fa7b18ae925f8e084465c4c81bc3c9 (patch)
tree955cf93c2fb168e0e146835b5313f535f16448a3 /src/tests/testKeys.cc
parent822c02e96a88a90540fa622afa5ab196b9ba5a7c (diff)
downloadfluxbox-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 'src/tests/testKeys.cc')
0 files changed, 0 insertions, 0 deletions