Re: [Spice-devel] [PATCH vdagent v2 1/1] vdagent: add GTK+ clipboard handling

2018-02-27 Thread Victor Toso
Hi, On Tue, Feb 27, 2018 at 10:22:49AM +0100, Jakub Janku wrote: > Hi Victor, > > On Tue, Feb 27, 2018 at 9:02 AM, Victor Toso wrote: > > Not exactly what I had in mind. The clipboad.[ch] is only > > handling gtk code and the decision between gtk/x11 is on > > vdagent.c by using #ifdef WITH_GTK_

Re: [Spice-devel] [PATCH vdagent v2 1/1] vdagent: add GTK+ clipboard handling

2018-02-27 Thread Jakub Janku
Hi Victor, On Tue, Feb 27, 2018 at 9:02 AM, Victor Toso wrote: > Hi Jakub, > > On Mon, Feb 26, 2018 at 08:01:28PM +0100, Jakub Janků wrote: >> From: Jakub Janků >> >> Add clipboard handling that uses GTK+ instead of Xlib. >> Place the code into new files: clipboard.c, clipboard.h >> >> Use the o

Re: [Spice-devel] [PATCH vdagent v2 1/1] vdagent: add GTK+ clipboard handling

2018-02-27 Thread Victor Toso
Hi Jakub, On Mon, Feb 26, 2018 at 08:01:28PM +0100, Jakub Janků wrote: > From: Jakub Janků > > Add clipboard handling that uses GTK+ instead of Xlib. > Place the code into new files: clipboard.c, clipboard.h > > Use the old Xlib implementation by default. > Add configure option --with-gtk-clipb

[Spice-devel] [PATCH vdagent v2 1/1] vdagent: add GTK+ clipboard handling

2018-02-26 Thread Jakub Janků
From: Jakub Janků Add clipboard handling that uses GTK+ instead of Xlib. Place the code into new files: clipboard.c, clipboard.h Use the old Xlib implementation by default. Add configure option --with-gtk-clipboard. Guard the code by WITH_GTK_CLIPBOARD variable - compile vdagent either with GTK+