Set _NET_WM_WINDOW_TYPE_DOCK to workaround a regression bug in QWidget::setAttribute().