[RFC wayland v2] Add libwayland-glib for GLib main loop integration
Quentin Glidic
sardemff7+wayland at sardemff7.net
Fri Oct 25 21:37:46 CEST 2013
On 25/10/2013 20:01, Kristian Høgsberg wrote:
> On Wed, Oct 23, 2013 at 02:10:26PM +0200, Quentin Glidic wrote:
>> From: Quentin Glidic <sardemff7+git at sardemff7.net>
>>
>> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
>> ---
>>
>> Here is a new version of my GLib main loop integration for Wayland.
>> Now everything is in libwayland-client (I didn’t work on the server
>> side) and package detection can be done using the pkg-config file
>> or the header if needed.
>
> I'm not convinced we need a separate glib shared library for this.
> It's only 150 lines of code and gtk+ already has integration code for
> this. Further, any glib use of wayland that isn't also a gtk+ user
> seems very niche, so I don't expect a lot of user of this library.
>
> Kristian
This is why this v2 is just the GSource included directly in
libwayland-client (I forgot to change the commit message).
The idea is inspired by PulseAudio, which has a few main loop helpers
shipped with libpulse (GLib integration, simple and threaded loops).
I would understand if you do not want to include this code in
libwayland-client though, but I am willing to maintain it if you decide
to do so.
Thanks,
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list