Skip to content

Commit

Permalink
[client] x11: fix cleanup if XIQueryVersion fails
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Sep 11, 2023
1 parent 1939778 commit 8dba4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/displayservers/X11/x11.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8dba4b6

Please sign in to comment.