summaryrefslogtreecommitdiff
path: root/indra/newview/linux_tools/wrapper.sh
diff options
context:
space:
mode:
authorAiraYumi <aira.youme@airanyumi.net>2024-05-09 23:23:39 +0900
committerAiraYumi <aira.youme@airanyumi.net>2024-05-09 23:23:39 +0900
commit24e8a0bb5d47f14727ce4d018232d935232469d2 (patch)
tree4132770b7c784cef39a65efaad8188a4f2c6d522 /indra/newview/linux_tools/wrapper.sh
parentf59af191051bd182806d5cfc77a3e538f02fe129 (diff)
enable ime on xwayland (environment setting move)
Diffstat (limited to 'indra/newview/linux_tools/wrapper.sh')
-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)