compositor-x11: use _checked() with xkb_select_events to test for error
authorRan Benita <ran234@gmail.com>
Tue, 30 Oct 2012 22:13:08 +0000 (00:13 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 31 Oct 2012 14:50:40 +0000 (10:50 -0400)
commit424ae0151e5655d098f795f27f983149c76492a0
treefaa63b8a7e4ec731bc6977a681eae3acf0fe9b1b
parente77d7577a25b5eb5c6bc79a9ce0ea335a4df6508
compositor-x11: use _checked() with xkb_select_events to test for error

In order to use xcb_request_check(), given a request without a reply,
you need to use the _checked() variant of the request function.
See xcb-requests(3).

Signed-off-by: Ran Benita <ran234@gmail.com>
src/compositor-x11.c