Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-16 Thread Jakub Janků
On Oct 16, 2017 4:20 PM, "Frediano Ziglio" wrote: On Fri, Oct 13, 2017 at 3:49 PM Frediano Ziglio wrote: > > On Fri, Oct 13, 2017, 9:29 AM Frediano Ziglio wrote: > >> > >> > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio >> wrote: >> > >> >> > >> Replace existing main while-loop with GMain

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-16 Thread Frediano Ziglio
> On Fri, Oct 13, 2017 at 3:49 PM Frediano Ziglio < fzig...@redhat.com > wrote: > > > > On Fri, Oct 13, 2017, 9:29 AM Frediano Ziglio < fzig...@redhat.com > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio < > > > > > >

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-13 Thread Jakub Janků
On Fri, Oct 13, 2017 at 3:49 PM Frediano Ziglio wrote: > > On Fri, Oct 13, 2017, 9:29 AM Frediano Ziglio wrote: > >> > >> > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio >> wrote: >> > >> >> > >> Replace existing main while-loop with GMainLoop. >> > >> >> > >> Use GIOChannel with g_io_add_wa

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-13 Thread Frediano Ziglio
> > On Fri, Oct 13, 2017, 9:29 AM Frediano Ziglio < fzig...@redhat.com > wrote: > > > > > > > > > > > > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio < fzig...@redhat.com > > > > > wrote: > > > > > > > >> > > > > > > > >> Replace existing main while-loop with GMainLoop. > > > > > > > >

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-13 Thread Frediano Ziglio
> On Fri, Oct 13, 2017, 9:29 AM Frediano Ziglio < fzig...@redhat.com > wrote: > > > > > > > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio < fzig...@redhat.com > > > > wrote: > > > > >> > > > > >> Replace existing main while-loop with GMainLoop. > > > > >> > > > > >> Use GIOChannel with g_i

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-13 Thread Jakub Janků
On Fri, Oct 13, 2017, 9:29 AM Frediano Ziglio wrote: > > > > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio > wrote: > > >> > > >> Replace existing main while-loop with GMainLoop. > > >> > > >> Use GIOChannel with g_io_add_watch() to manage IO > > >> from x11 connections in the main loop. > >

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-13 Thread Frediano Ziglio
> > On Wed, Oct 11, 2017 at 1:43 PM, Frediano Ziglio wrote: > >> > >> Replace existing main while-loop with GMainLoop. > >> > >> Use GIOChannel with g_io_add_watch() to manage IO > >> from x11 connections in the main loop. > >> > >> udscs_connect() now internally creates GSources > >> by calling

Re: [Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-11 Thread Frediano Ziglio
> > Replace existing main while-loop with GMainLoop. > > Use GIOChannel with g_io_add_watch() to manage IO > from x11 connections in the main loop. > > udscs_connect() now internally creates GSources > by calling g_io_add_watch(). > This enables GMainLoop integration, > clients no longer need to

[Spice-devel] [PATCH vdagent v3 7/8] vdagent: Use GMainLoop

2017-10-10 Thread Jakub Janků
Replace existing main while-loop with GMainLoop. Use GIOChannel with g_io_add_watch() to manage IO from x11 connections in the main loop. udscs_connect() now internally creates GSources by calling g_io_add_watch(). This enables GMainLoop integration, clients no longer need to call udscs_client_fi