summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowsdl.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-16 16:33:11 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-16 16:33:11 +0800
commit2fc9c69bd7975c6439272e8be14eb9c9284b938c (patch)
treeb129d8cd5a95202c3d23d9a83fe40bbd081f243a /indra/llwindow/llwindowsdl.h
parent12487dc5c00d68cd742f2ef4ee0a0b0713cce9f1 (diff)
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.
Diffstat (limited to 'indra/llwindow/llwindowsdl.h')
-rw-r--r--indra/llwindow/llwindowsdl.h2
1 files changed, 1 insertions, 1 deletions
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