summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Linden <46733234+brad-linden@users.noreply.github.com>2024-05-09 11:24:56 -0700
committerGitHub <noreply@github.com>2024-05-09 11:24:56 -0700
commit531cd34f670170ade57f8813fe48012b61a1d3c2 (patch)
tree4132770b7c784cef39a65efaad8188a4f2c6d522 /indra
parentf69ac40e24e78fe265c81ff3785c185229764151 (diff)
parent24e8a0bb5d47f14727ce4d018232d935232469d2 (diff)
Merge pull request #1427 from AiraYumi/enable_ime_on_xwayland
Enable IME on XWayland desktop environment
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/linux_tools/wrapper.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh
index 7d26c81283..a027aaf6d1 100755
--- a/indra/newview/linux_tools/wrapper.sh
+++ b/indra/newview/linux_tools/wrapper.sh
@@ -62,6 +62,10 @@ export SDL_VIDEO_X11_DGAMOUSE=0
if [ "$GTK_IM_MODULE" = "scim" ]; then
export GTK_IM_MODULE=xim
fi
+if [ "$XMODIFIERS" = "" ]; then
+ ## IME is valid only for fcitx, not when using ibus
+ export XMODIFIERS="@im=fcitx"
+fi
## - Automatically work around the ATI mouse cursor crash bug:
## (this workaround is disabled as most fglrx users do not see the bug)