Set _NET_WM_WINDOW_TYPE_DOCK after the window is created to avoid some werid X11 BadMatch errors.