Revert "Remove xdpyinfo dep"

This reverts commit 7f664f4b5a6c9f267fc389f75b586fad8b4709fa.