OSDN Git Service

xaw: Setup _NET_WM_ICON correctly
authorYair K <cesium2@gmail.com>
Sat, 2 Jun 2012 08:39:55 +0000 (10:39 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jun 2012 08:39:55 +0000 (10:39 +0200)
commit6e0809799e62c0007eec9263f3ae0634cc7efeb2
treefef0f3cdc8f529b19fd5979fd4f128ed5e8cdd84
parent1c3b4da55d20f0afb6fac0708e3d46893af09414
xaw: Setup _NET_WM_ICON correctly

Having upgraded to a new KDE version, I noticed the task switcher didn't
display timidity's thumbnail. Apparently it doesn't acknowledge the
WM_HINTS bitmap.

So the attached diff includes a trivial converter (1bit bitmap->ARGB) to set
up _NET_WM_ICON correctly. It uses the simple timidity.xbm icon (I also had a
version using the color icon from pixmap/timidity.xpm but I prefer this icon -
I could add that as an option).

The diff also includes some #include rationalization and resource renaming
("noPlaying" had a different spelling in .ad files vs the code).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
doc/C/README.xaw
interface/TiMidity-uj.ad
interface/TiMidity.ad
interface/xaw_i.c
interface/xdnd.c
interface/xdnd.h