mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 10:40:59 +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)
|
||||
// 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.
|
||||
if (strcmp(SDL_GetCurrentVideoDriver(), "wayland") != 0) {
|
||||
if (strcmp(SDL_GetCurrentVideoDriver(), "wayland") != 0)
|
||||
#endif
|
||||
{
|
||||
m_InputHandler->setCaptureActive(true);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user