[client] app: cleanup clipboard option logic

This commit is contained in:
Geoffrey McRae
2021-06-02 22:09:09 +10:00
parent b657b57016
commit b2974c38ef
3 changed files with 17 additions and 10 deletions

View File

@@ -128,6 +128,9 @@ void app_clipboardRelease(void)
void app_clipboardNotifyTypes(const LG_ClipboardData types[], int count)
{
if (!g_params.clipboardToVM)
return;
if (count == 0)
{
spice_clipboard_release();