Re: [Spice-devel] [PATCH spice-gtk 2/2] clipboard: do not release between remote grabs

2019-03-26 Thread Jakub Janku
Hi, On Sun, Mar 24, 2019 at 7:45 PM Marc-André Lureau < marcandre.lur...@gmail.com> wrote: > > Hi > > On Sun, Mar 24, 2019 at 6:49 PM Jakub Janku wrote: > > > > Hi, > > > > On Thu, Mar 21, 2019 at 1:21 PM wrote: > > > > > > From: Marc-André Lureau > > > > > > Delay the release events for 0.5 se

Re: [Spice-devel] [PATCH spice-gtk 2/2] clipboard: do not release between remote grabs

2019-03-24 Thread Marc-André Lureau
Hi On Sun, Mar 24, 2019 at 6:49 PM Jakub Janku wrote: > > Hi, > > On Thu, Mar 21, 2019 at 1:21 PM wrote: > > > > From: Marc-André Lureau > > > > Delay the release events for 0.5 sec. If no further grab comes in, > > then release the grab. Otherwise, let's skip the release. This avoids > > some

Re: [Spice-devel] [PATCH spice-gtk 2/2] clipboard: do not release between remote grabs

2019-03-24 Thread Jakub Janku
Hi, On Thu, Mar 21, 2019 at 1:21 PM wrote: > > From: Marc-André Lureau > > Delay the release events for 0.5 sec. If no further grab comes in, > then release the grab. Otherwise, let's skip the release. This avoids > some races with clipboard managers. > > Related to: > https://gitlab.freedesktop

[Spice-devel] [PATCH spice-gtk 2/2] clipboard: do not release between remote grabs

2019-03-21 Thread marcandre . lureau
From: Marc-André Lureau Delay the release events for 0.5 sec. If no further grab comes in, then release the grab. Otherwise, let's skip the release. This avoids some races with clipboard managers. Related to: https://gitlab.freedesktop.org/spice/spice-gtk/issues/82 Signed-off-by: Marc-André Lur