mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 05:30:58 +00:00
Fix incorrect #endif location
This commit is contained in:
@@ -1086,10 +1086,11 @@ void Session::exec(int displayOriginX, int displayOriginY)
|
|||||||
#if !SDL_VERSION_ATLEAST(2, 0, 11)
|
#if !SDL_VERSION_ATLEAST(2, 0, 11)
|
||||||
// HACK: This doesn't work on Wayland until we render a frame, so
|
// HACK: This doesn't work on Wayland until we render a frame, so
|
||||||
// just don't do it for now. This bug is fixed in SDL 2.0.11.
|
// just don't do it for now. This bug is fixed in SDL 2.0.11.
|
||||||
if (strcmp(SDL_GetCurrentVideoDriver(), "wayland") != 0) {
|
if (strcmp(SDL_GetCurrentVideoDriver(), "wayland") != 0)
|
||||||
|
#endif
|
||||||
|
{
|
||||||
m_InputHandler->setCaptureActive(true);
|
m_InputHandler->setCaptureActive(true);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user