Fix occasional error with windowAttentionHandler - throws error when
a window's wm_class is null.  To reproduce:

glxgears -fullscreen
Merge pull request #2044 from mtwebster/wm-attention-error

Fix occasional error with windowAttentionHandler - throws error when