Make sure WM_CLASS/PROTOCOLS properties are set before window is mapped
commitf685b7bd6e2d1b4950134c78b39157a1726c9a45
authormalc <av1474@comtv.ru>
Sun, 28 Oct 2012 14:41:37 +0000 (28 18:41 +0400)
committermalc <av1474@comtv.ru>
Sun, 28 Oct 2012 14:41:37 +0000 (28 18:41 +0400)
tree03c2bd232759b70c2292a2e3a60c7989fa738181
parentfafc0c6ff8fb5d0371462c2b4f3dada023a2a140
Make sure WM_CLASS/PROTOCOLS properties are set before window is mapped

Conforms better to ICCCM and helps XMonad to apply proper per
class/name styling to the window.

Thanks to webspid0r for heads up and to geekosaur for relevant ICCCM
reference[1]

[1] http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.5
wsi.ml