Re: [Spice-devel] [spice-gtk v2 3/7] channel-main: clipboard grab: wakeup only when needed

2018-12-13 Thread Uri Lublin
On 12/10/18 1:02 PM, Victor Toso wrote: From: Victor Toso This patch makes agent_clipboard_grab() to return true only when the message request to the agent is successfully queued to be sent. By checking the return value, we can avoid wakup the channel unnecessarily at

[Spice-devel] [spice-gtk v2 3/7] channel-main: clipboard grab: wakeup only when needed

2018-12-10 Thread Victor Toso
From: Victor Toso This patch makes agent_clipboard_grab() to return true only when the message request to the agent is successfully queued to be sent. By checking the return value, we can avoid wakup the channel unnecessarily at spice_main_channel_clipboard_selection_request() Signed-off-by: