From dfc0d2303b370d19bf7e7ff239b2e500cdc48147 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 24 Feb 2020 20:55:07 -0800 Subject: [PATCH] Fix incorrect #endif location --- app/streaming/session.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 0cb178c6..f492426a 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -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