summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/llwindow/llwindowsdl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index b8b502508b..798732e84d 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -654,6 +654,11 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B
SDL_SetHint( std::get<0>(hint), std::get<1>(hint));
}
+#if LL_LINUX
+ // Enable IME on XWayland
+ setenv("XMODIFIERS", std::string("@im=fcitx;ibus").c_str(), 1);
+#endif
+
std::initializer_list<std::tuple<uint32_t, char const*, bool>> initList=
{ {SDL_INIT_VIDEO,"SDL_INIT_VIDEO", true},
{SDL_INIT_AUDIO,"SDL_INIT_AUDIO", false},