X11: fix multi-monitor setups after recent changes of X servers