mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 00:28:20 +00:00
[client] x11: fix cleanup if XIQueryVersion fails
This commit is contained in:
parent
193977895b
commit
8dba4b6c0b
@ -476,7 +476,7 @@ static bool x11Init(const LG_DSInitParams params)
|
||||
if (XIQueryVersion(x11.display, &major, &minor) != Success)
|
||||
{
|
||||
DEBUG_ERROR("Failed to query the XInput version");
|
||||
return false;
|
||||
goto fail_window;
|
||||
}
|
||||
|
||||
DEBUG_INFO("X11 XInput %d.%d in use", major, minor);
|
||||
|
Loading…
Reference in New Issue
Block a user