rendericon: Ignore transparent icons
authorTimm Bäder <mail@baedert.org>
Sun, 10 Feb 2019 09:27:27 +0000 (10:27 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 10 Feb 2019 09:31:27 +0000 (10:31 +0100)
commitd1ea591f18f71e059a76af8d659540c10293270a
tree97e3ffe2cadd4b078102822fcf6169072d1cd01b
parent2146fd28f81c26defa70484b74bb03eb0cb78928
rendericon: Ignore transparent icons

If the recoloring would end up multiplying the alpha component with 0
anyway, just skip drawing anything altogether.

This increases the icon count in the switch demo of the fishbowl from
~260 to ~280 on my system.
gtk/gtkrendericon.c