Adding xserver-xephyr code from Feng Haitao's code repo