mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-29 11:41:57 +00:00
[client] clipboard: try each clipboard until one initializes
Previously, main.c would segfault at runtime if clipboards were disabled via cmake flags, as the clipboards array would be empty but still indexed during initialization. Co-authored-by: Quantum <quantum2048@gmail.com>
This commit is contained in:
committed by
Geoffrey McRae
parent
2627381021
commit
bf223158d0
@@ -398,7 +398,6 @@ static bool wayland_cb_init(
|
||||
{
|
||||
if (wminfo->subsystem != SDL_SYSWM_WAYLAND)
|
||||
{
|
||||
DEBUG_ERROR("wrong subsystem");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user