summaryrefslogtreecommitdiffstats
path: root/client/x11/platform.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-04-21 13:40:13 +0200
committerAlexander Larsson <alexl@redhat.com>2010-04-23 16:36:31 +0200
commit9c02d1539624403506b93fc6b5cb425978fcfd92 (patch)
tree1f9188dd24021bdc2a4c512b70eac081660b72e6 /client/x11/platform.cpp
parent43a61bb6fe1e9741e686fc57b51e782432c384de (diff)
downloadspice-9c02d1539624403506b93fc6b5cb425978fcfd92.tar.gz
spice-9c02d1539624403506b93fc6b5cb425978fcfd92.tar.xz
spice-9c02d1539624403506b93fc6b5cb425978fcfd92.zip
Client: Don't die if XIM not availible
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r--client/x11/platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 2c3604a4..228069f9 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -2111,7 +2111,7 @@ static void init_XIM()
x_input_method = XOpenIM(x_display, NULL, app_name, app_name);
if (!x_input_method) {
- THROW("open IM failed");
+ return;
}
x_input_context = XCreateIC(x_input_method, XNInputStyle, XIMPreeditNone | XIMStatusNone, NULL);