vulkan/wsi/x11: Set OUT_OF_DATE if wait_for_special_event fails
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 21 Feb 2018 20:38:12 +0000 (12:38 -0800)
committerDaniel Stone <daniels@collabora.com>
Wed, 21 Feb 2018 22:37:10 +0000 (22:37 +0000)
commit6937c613242d646b8c37f01ffd6a02a9b64c8d6c
tree5882bf0b792b929ab17dc12a331244b9645a3e62
parentbfa22266cd4d268e52d2535b41ef972421e66f71
vulkan/wsi/x11: Set OUT_OF_DATE if wait_for_special_event fails

This most likely means we lost our connection to the X server so
OUT_OF_DATE is reasonable.  This was also the one case where we pushed a
UINT32_MAX into the queue without setting an error condition.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/vulkan/wsi/wsi_common_x11.c