[client] clipboard/wayland: implement VM-to-host text copy

Co-authored-by: Quantum <quantum2048@gmail.com>
This commit is contained in:
Tudor BrindusandQuantum authored and Geoffrey McRae committed 2021-01-13 13:39:32 +11:00
1 parent a205515d91
commit c58f33f5ab
2 files changed
+228

No files matched your search

+4
View File
@@ -2022,6 +2022,10 @@ static int lg_run()
g_state.lgc = LG_Clipboards[0];
}
else if (g_state.wminfo.subsystem == SDL_SYSWM_WAYLAND)
{
g_state.lgc = LG_Clipboards[1];
}
} else {
DEBUG_ERROR("Could not get SDL window information %s", SDL_GetError());
return -1;