projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18ca6f
)
Set $IBUS_SESSION_ID if it does not exsit.
author
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 15 Apr 2009 03:09:07 +0000
(11:09 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 15 Apr 2009 03:09:07 +0000
(11:09 +0800)
xinput-ibus
patch
|
blob
|
history
diff --git
a/xinput-ibus
b/xinput-ibus
index
998dce1
..
07d5dd6
100644
(file)
--- a/
xinput-ibus
+++ b/
xinput-ibus
@@
-6,4
+6,7
@@
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
SHORT_DESC="IBus"
GTK_IM_MODULE=ibus
# QT_IM_MODULE=ibus
-export IBUS_SESSION_ID=$RANDOM
+
+if [ -z "$IBUS_SESSION_ID" ]; then
+ export IBUS_SESSION_ID=$RANDOM
+fi