clipboard grab race

Submitted by Jakub Janku on Feb. 28, 2019, 7:12 p.m.

Details

Reviewer None
Submitted Feb. 28, 2019, 7:12 p.m.
Last Updated March 15, 2019, 8:31 p.m.
Revision 2

Cover Letter(s)

Revision 1
      Hi,

this is another try to solve the grab race.
Intention of these patches is to make spice-gtk
behave reasonably well with older agents.

The next step would be to fix the protocol itself.
But that will require updating spice-gtk as well as vdagents.

Cheers,
Jakub

Jakub Janků (3):
  clipboard: accept grab only from the side with keyboard focus
  clipboard: release on both sides if race occurs
  clipboard: invalidate targets request when needed

 src/spice-gtk-session.c | 65 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 54 insertions(+), 11 deletions(-)
    
Revision 2
      Hi,

this is another try to solve the grab race.
Intention of these patches is to make spice-gtk
behave reasonably well with older agents.

The next step would be to fix the protocol itself.
But that will require updating spice-gtk as well as vdagents.

Cheers,
Jakub

Jakub Janků (3):
  clipboard: accept grab only from the side with keyboard focus
  clipboard: release on both sides if race occurs
  clipboard: invalidate targets request when needed

 src/spice-gtk-session.c | 65 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 54 insertions(+), 11 deletions(-)
    

Revisions