JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Reuse class hint in the status-bar.
authorTiago Cunha <tcunha@gmx.com>
Sat, 12 May 2012 20:52:20 +0000 (21:52 +0100)
committerTiago Cunha <tcunha@gmx.com>
Tue, 5 Jun 2012 21:30:06 +0000 (22:30 +0100)
commit3ce4ba02b4120821833b08ca9f7829c6b723c3e4
tree5db30150dec8f8f987308294f98359dfd83f50d8
parent21a44b58c75d3896da17203706742fe12eb15e0e
Reuse class hint in the status-bar.

The window's class hint is already retrieved by the manage_window
function, which is called when a new application is spawned. Therefore,
use it when displaying the application's class and name, instead of
fetching them again with XGetClassHint(3).

Besides, its error checking was incorrect, since it also returns zero on
error.
spectrwm.c