<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>Here's the section in the src/protocol/spice/client.c file that registers the callbacks:<br></div><div><br></div><div>        /* Register clipboard handlers. */<br>        g_signal_connect(channel, SPICE_SIGNAL_MAIN_CLIPBOARD_SELECTION,<br>                G_CALLBACK(guac_spice_clipboard_selection_handler), client);<br>        g_signal_connect(channel, SPICE_SIGNAL_MAIN_CLIPBOARD_SELECTION_GRAB,<br>                G_CALLBACK(guac_spice_clipboard_selection_grab_handler), client);<br>        g_signal_connect(channel, SPICE_SIGNAL_MAIN_CLIPBOARD_SELECTION_RELEASE,<br>                G_CALLBACK(guac_spice_clipboard_selection_release_handler), client);<br>        g_signal_connect(channel, SPICE_SIGNAL_MAIN_CLIPBOARD_SELECTION_REQUEST,<br>                G_CALLBACK(guac_spice_clipboard_selection_request_handler), client);<br></div><div><br></div><div>link to the full function is here:<br><a href="https://github.com/necouchman/guacamole-server/blob/5e073802a0656e65b1bc8e7e6051831bea0d9508/src/protocols/spice/client.c#L236-L375" target="_blank">https://github.com/necouchman/guacamole-server/blob/5e073802a0656e65b1bc8e7e6051831bea0d9508/src/protocols/spice/client.c#L236-L375</a></div></div></div></blockquote><div><br></div><div>Try changing the callbacks to accept a pointer, e.g.:</div><div><span><span>- void</span> <span>guac_spice_clipboard_selection_grab_handler</span>(SpiceMainChannel channel,</span></div><div><span><span><span>+void</span> <span>guac_spice_clipboard_selection_grab_handler</span>(SpiceMainChannel* channel,</span></span></div><div class="gmail_quote"><br></div></div></div></blockquote><div><br></div><div>-Sigh- I knew it would be something simple. Yes, this was it - works correctly after using pointers.</div><div><br></div><div>Thanks, Uri and Marc.</div><div><br></div><div>-Nick</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>
</blockquote></div></div>