fcitx/fcitx-autostart-check-INPUT_METHOD.patch

15 lines
286 B
Diff
Raw Permalink Normal View History

---
data/script/fcitx-autostart | 2 ++
1 file changed, 2 insertions(+)
--- a/data/script/fcitx-autostart
+++ b/data/script/fcitx-autostart
@@ -1,5 +1,7 @@
#!/bin/sh
+test x"$INPUT_METHOD" = x"fcitx" || exit 0
+
# sleep for a little while to avoid duplicate startup
sleep 2