mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 11:17:10 +00:00
[client] x11: fix cleanup if XIQueryVersion fails
This commit is contained in:
parent
193977895b
commit
8dba4b6c0b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue