diff options
Diffstat (limited to 'misc/fcitx/fcitx-autostart.patch')
-rw-r--r-- | misc/fcitx/fcitx-autostart.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/misc/fcitx/fcitx-autostart.patch b/misc/fcitx/fcitx-autostart.patch deleted file mode 100644 index d2d206bb09bf..000000000000 --- a/misc/fcitx/fcitx-autostart.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- fcitx-autostart.orig 2017-03-26 17:58:45.586105103 +0200 -+++ fcitx-autostart 2017-03-26 17:59:09.693105345 +0200 -@@ -1,4 +1,26 @@ --#!/bin/sh -+#!/bin/bash -+ -+START="no" -+ -+if [ "$XIM" = "fcitx" ]; then -+ START="yes" -+fi -+ -+if [ "$XIM_PROGRAM" = "fcitx" ]; then -+ START="yes" -+fi -+ -+if [ "$GTK_IM_MODULE" = "fcitx" ]; then -+ START="yes" -+fi -+ -+if [ "$QT_IM_MOFULE" = "fcitx" ]; then -+ START="yes" -+fi -+ -+if [ "$START" = "no" ]; then -+ exit 0 -+fi - - # sleep for a little while to avoid duplicate startup - sleep 2 |