Ghost/X11: correct function signature
This commit is contained in:
@@ -598,13 +598,15 @@ GHOST_WindowX11(GHOST_SystemX11 *system,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
|
#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
|
||||||
static void destroyICCallback(XIC /*xic*/, XPointer ptr, XPointer /*data*/)
|
static Bool destroyICCallback(XIC /*xic*/, XPointer ptr, XPointer /*data*/)
|
||||||
{
|
{
|
||||||
GHOST_PRINT("XIM input context destroyed\n");
|
GHOST_PRINT("XIM input context destroyed\n");
|
||||||
|
|
||||||
if (ptr) {
|
if (ptr) {
|
||||||
*(XIC *)ptr = NULL;
|
*(XIC *)ptr = NULL;
|
||||||
}
|
}
|
||||||
|
/* Ignored by X11. */
|
||||||
|
return True;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GHOST_WindowX11::createX11_XIC()
|
bool GHOST_WindowX11::createX11_XIC()
|
||||||
|
Reference in New Issue
Block a user