aboutsummaryrefslogtreecommitdiffstats
path: root/vconsole.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-03-16 17:08:42 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-03-16 17:08:42 +0100
commitaf6905973eaddafff57733ecbf4d7e8ebbeff329 (patch)
treefad68a5bec65ad183448c2f408b2de90f91f2b2c /vconsole.c
parentb642345351a2ef2714af612510a2e19df3d5fc5a (diff)
downloadvconsole-af6905973eaddafff57733ecbf4d7e8ebbeff329.tar.gz
disable ibus
Diffstat (limited to 'vconsole.c')
-rw-r--r--vconsole.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vconsole.c b/vconsole.c
index b150c96..2a559f7 100644
--- a/vconsole.c
+++ b/vconsole.c
@@ -1103,6 +1103,9 @@ main(int argc, char *argv[])
char *uri = NULL;
int c;
+ /* disable ibus (causes problems after fork+exec virt-viewer */
+ setenv("GTK_IM_MODULE", "gtk-im-context-simple", 1);
+
gtk_init(&argc, &argv);
for (;;) {
if (-1 == (c = getopt(argc, argv, "hdc:")))