aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11.c')
-rw-r--r--src/x11.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/x11.c b/src/x11.c
index 18f8521..b462dd0 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -360,15 +360,11 @@ puglRealize(PuglView* view)
// Create input context
const XIMStyle im_style = XIMPreeditNothing | XIMStatusNothing;
- if (!(impl->xic = XCreateIC(world->impl->xim,
- XNInputStyle, im_style,
- XNClientWindow, win,
- XNFocusWindow, win,
- NULL))) {
- view->world->logFunc(view->world,
- PUGL_LOG_LEVEL_WARNING,
- "XCreateID failed\n");
- }
+ impl->xic = XCreateIC(world->impl->xim,
+ XNInputStyle, im_style,
+ XNClientWindow, win,
+ XNFocusWindow, win,
+ NULL);
#ifdef HAVE_XCURSOR
puglDefineCursorShape(view, impl->cursorShape);