event-loop: Dont use a check callback just dispatch again
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 16:06:34 +0000 (12:06 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 16:06:36 +0000 (12:06 -0400)
commitf8bb7f435b884eacc2d2468b9defe5f2d5a479eb
treeaa364d1d82c9f90386d4693fc2366b1c0af50bad
parent1c88cffa3250fbf5cb485733c4954d04b3f48ee3
event-loop: Dont use a check callback just dispatch again

We pass the poll mask so the dispatch callback can know if there is
data on the fd or not.  The dispatch function must return true if
it dispatched something, in which case we need to do another round of
post-dispatch callbacks."
wayland/event-loop.c
wayland/wayland-server.c
wayland/wayland-server.h