Fix occasional error with windowAttentionHandler - throws error when

a window's wm_class is null.  To reproduce:

glxgears -fullscreen