Fix handling of NET_WM_ICON
commit7aff3b6e44b63f117f7f9ec1f4bf19595bedf36d
authorBrad Jorsch <anomie@users.sourceforge.net>
Fri, 8 Oct 2010 19:08:31 +0000 (8 15:08 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 8 Oct 2010 20:00:23 +0000 (8 22:00 +0200)
tree3c9c592251bf39845563dffdc2febdea2e9a25cf
parent5eebb8bc3c6b7b8aab76da82f04493c51badefdd
Fix handling of NET_WM_ICON

NET_WM_ICON is a property change, not a message.

updateIconImage doesn't use scr, remove it.

updateIconImage should clear out the net_icon_image if there isn't one
anymore (i.e. XGetWindowProperty fails or the icon cannot be extracted).

When the icon is changed, we need to call wIconUpdate.

Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
src/wmspec.c