compositor-x11: Adjust to event loop changes
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 16:18:13 +0000 (12:18 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 16:18:16 +0000 (12:18 -0400)
commit127d0f005040463cdd2339d261080c0ac7570067
tree786a1baf92771aa7f872bde4c1015dc6af5f5a2a
parent315b3dc73b0639c526cdf78ddf74655e2177fa99
compositor-x11: Adjust to event loop changes

Instead of having a separate check function, we just mark our x11 event
source as needing a post-dispatch check.  The event loop will call our
dispatch function again after all dispatching is done, this time with
mask = 0.  If we don't process any events, return 0, so the event loop
doesn't keep calling us.
compositor/compositor-x11.c