diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowX11.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index d26224d956a..160980b6331 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -392,13 +392,6 @@ GHOST_WindowX11( } } -#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) - m_xic = XCreateIC(m_system->getX11_XIM(), XNClientWindow, m_window, XNFocusWindow, m_window, - XNInputStyle, XIMPreeditNothing | XIMStatusNothing, - XNResourceName, GHOST_X11_RES_NAME, XNResourceClass, - GHOST_X11_RES_CLASS, NULL); -#endif - // Set the window icon XWMHints *xwmhints = XAllocWMHints(); XImage *x_image, *mask_image; @@ -1311,13 +1304,6 @@ GHOST_WindowX11:: XSetSelectionOwner(m_display, Clipboard_atom, None, CurrentTime); } -#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) - if (m_xic) { - XDestroyIC(m_xic); - } -#endif - - XDestroyWindow(m_display, m_window); XFree(m_visual); } |