Extent frame event to be surface dependent
Support passing the Wayland fd in the environment
Make wl_client_create() public
Make all fds close-on-exec
Merge remote-tracking branch 'bnf/surface-frame-event'
Add lockfile to the socket

This uses flock to detect if there is a process that is active. If not
then it unlinks the socket file if it exists, so that bind won't fail
Move proxy prototype to wayland-client.h

Let's try to avoid to generate more code than we need to.
Print line numbers in scanner errors
Introduce display.bind to request events from a global
Use wl_client_post_global() for connect events
scanner: Don't hardcode the wl_ prefix in the code generator
Pass version number to global bind function
event-loop: Add an optional post-dispatch source callout

This lets a source mark itself as ready to dispatch even though the fd
didn't trigger.   What can happen is that for the X11 socket, some other
source callback (the drm fd or a wayland client socket) can cause somebody
to do an X roundtrip (DRI2 get buffers, for example) and queue up events
in the xcb buffer.  When we get back to epoll, the X fd no longer polls
readable and we don't process those events until we get another X event.

The check callback is called after a round of dispatching and lets a source
check if it has data to dispatch and mark itself ready.  Next round of
dispatching will then process it immediately instead of blocking in
epoll_wait().
Add buffer.damage request to the protocol

Thus remove the server-side used vfunc buffer::damage.
Remove buffer.attach vfunc
Add common shm-server code
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."
event-loop: Idle callback are a special case of a checked source
Don't define wl_shell in wayland-server.h
event-loop: Drop unused idle_list

Idle sources are now just a special case of a checked source.