compositor-x11: Only use xcb_poll_for_queued_event if we have it
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:41:59 +0000 (15:41 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:41:59 +0000 (15:41 -0400)
commit82ed0423a13d7fe8d3a8bd26f9f7df7093ee63f1
treec81e375de4e2044e9a5add94e15a33fb71b2a0c2
parentb5819dc61d8abef9e1fb34ea632960cb228ae405
compositor-x11: Only use xcb_poll_for_queued_event if we have it

Otherwise we can just fall back to xcb_poll_for_event, and just do a
harmless read on the socket.
compositor/compositor-x11.c
configure.ac