From 2fc9c69bd7975c6439272e8be14eb9c9284b938c Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 16 Aug 2023 16:33:11 +0800 Subject: Revive alt mouse click override with X11 On SDL2, there are no more x11.lock_func or x11.unlock_func, so the camming is too sensitive, and alt tab is overridden too when it shouldn't be. It's better than nothing at all for now. This feature should be re-perfected later. --- indra/llwindow/llwindowsdl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llwindow/llwindowsdl.h') diff --git a/indra/llwindow/llwindowsdl.h b/indra/llwindow/llwindowsdl.h index e8a93247f3..992f9c986c 100644 --- a/indra/llwindow/llwindowsdl.h +++ b/indra/llwindow/llwindowsdl.h @@ -182,7 +182,7 @@ protected: void setupFailure(const std::string& text, const std::string& caption, U32 type); void fixWindowSize(void); U32 SDLCheckGrabbyKeys(SDL_Keycode keysym, BOOL gain); - //BOOL SDLReallyCaptureInput(BOOL capture); + BOOL SDLReallyCaptureInput(BOOL capture); // // Platform specific variables -- cgit v1.2.3