diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-21 13:40:13 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-23 16:36:31 +0200 |
commit | 9c02d1539624403506b93fc6b5cb425978fcfd92 (patch) | |
tree | 1f9188dd24021bdc2a4c512b70eac081660b72e6 /client/x11/platform.cpp | |
parent | 43a61bb6fe1e9741e686fc57b51e782432c384de (diff) | |
download | spice-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.cpp | 2 |
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); |