aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2015-10-06 12:56:11 -0400
committerWilliam Hua <william.hua@canonical.com>2015-10-06 12:56:11 -0400
commitb5bb009d74753290d34ce34bea05a4b9b057cbef (patch)
tree1f7fa090da2c11be00b3217663c07620f85ff0a6
parent568a977ebea54e30074d7f99e7e85306da2482df (diff)
downloadayatana-indicator-keyboard-b5bb009d74753290d34ce34bea05a4b9b057cbef.tar.gz
ayatana-indicator-keyboard-b5bb009d74753290d34ce34bea05a4b9b057cbef.tar.bz2
ayatana-indicator-keyboard-b5bb009d74753290d34ce34bea05a4b9b057cbef.zip
Manually set GDK_BACKEND=x11.
GDK wants to try Wayland first, which causes indicator-keyboard-service to fail if XDG_RUNTIME_DIR is longer than 108 characters.
-rw-r--r--tests/indicator-keyboard-test.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indicator-keyboard-test.in b/tests/indicator-keyboard-test.in
index 3d43d8ab..8c20f6bf 100644
--- a/tests/indicator-keyboard-test.in
+++ b/tests/indicator-keyboard-test.in
@@ -5,6 +5,7 @@ export DCONF_PROFILE="@abs_top_builddir@/tests/profiles/indicator-keyboard-test"
export GSETTINGS_SCHEMA_DIR="@abs_top_builddir@/data"
export XDG_RUNTIME_DIR="@abs_top_builddir@/tests"
export GTK_IM_MODULE="ibus"
+export GDK_BACKEND="x11"
if xvfb-run -a ./indicator-keyboard-tests
then