Re: [RFC wayland] Add server-side dispatchers support

2013-03-26 Thread Jason Ekstrand
On Tue, Mar 26, 2013 at 8:24 AM, Jason Ekstrand wrote: > On Mar 26, 2013 3:28 AM, "Dave Airlie" wrote: >> >> > +++ b/src/wayland-private.h >> > @@ -74,15 +74,9 @@ int wl_connection_write(struct wl_connection >> > *connection, const void *data, size >> > int wl_connection_queue(struct wl_connecti

Re: [RFC wayland] Add server-side dispatchers support

2013-03-26 Thread Jason Ekstrand
On Mar 26, 2013 3:28 AM, "Dave Airlie" wrote: > > > +++ b/src/wayland-private.h > > @@ -74,15 +74,9 @@ int wl_connection_write(struct wl_connection *connection, const void *data, size > > int wl_connection_queue(struct wl_connection *connection, > > const void *data, size_

Re: [RFC wayland] Add server-side dispatchers support

2013-03-26 Thread Dave Airlie
> +++ b/src/wayland-private.h > @@ -74,15 +74,9 @@ int wl_connection_write(struct wl_connection *connection, > const void *data, size > int wl_connection_queue(struct wl_connection *connection, > const void *data, size_t count); > > -union wl_argument { > - int32_t i

[RFC wayland] Add server-side dispatchers support

2013-03-23 Thread Jason Ekstrand
Devs, This patch adds support on the server half of the library for dispatchers. While being a bit of a hack, it adds dispatchers without touching any exposed structures so it does not break API or ABI. The one downside is that programs taking advantage of this cannot edit the dispatching informat