I have tried your patch (Nevada build 83 + wine-0.9.60-525-g4992b65) 
with little change but it still doesn't work...

Changed version:

diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c
index a4fbdb2..d99ac5b 100644
--- a/dlls/winex11.drv/xim.c
+++ b/dlls/winex11.drv/xim.c
@@ -35,8 +35,16 @@
  WINE_DEFAULT_DEBUG_CHANNEL(x11drv);

  #ifndef HAVE_XICCALLBACK_CALLBACK
-#define XICCallback XIMCallback
-#define XICProc XIMProc
+typedef Bool (*XICProc)(
+  XIC,
+  XPointer,
+  XPointer
+);
+
+typedef struct {
+  XPointer client_data;
+  XICProc callback;
+} XICCallback;
  #endif

  BOOL ximInComposeMode=FALSE;

--

Petr

Suresh Chandrasekharan wrote:
> Sorry the code fragment for xim.c contained extraneous characters, 
> should be like this
> 
> #ifndef  HAVE_XICCALLBACK_CALLBACK
> 
> typedef struct {
>    XPointer client_data;
>    XICProc callback;
> } XICCallback;
> 
> typedef Bool (*XICProc)(
>    XIC,
>    XPointer,
>    XPointer
> );
> 
> #endif


Reply via email to