diff options
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r-- | macosx/tkMacOSXXStubs.c | 63 |
1 files changed, 62 insertions, 1 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c index 63f5dba..d60c012 100644 --- a/macosx/tkMacOSXXStubs.c +++ b/macosx/tkMacOSXXStubs.c @@ -696,7 +696,7 @@ Tk_FreeXId( int XSync( Display *display, - Bool flag) + Bool discard) { TkMacOSXFlushWindows(); display->request++; @@ -877,6 +877,67 @@ XCreateIC(XIM xim, ...) return (XIC) 0; } +#undef XVisualIDFromVisual +VisualID +XVisualIDFromVisual( + Visual *visual) +{ + return visual->visualid; +} + +#undef XSynchronize +XAfterFunction +XSynchronize( + Display *display, + Bool onoff) +{ + display->request++; + return NULL; +} + +#undef XUngrabServer +int +XUngrabServer( + Display *display) +{ + return 0; +} + +#undef XNoOp +int +XNoOp( + Display *display) +{ + display->request++; + return 0; +} + +#undef XGrabServer +int +XGrabServer( + Display *display) +{ + return 0; +} + +#undef XFree +int +XFree( + void *data) +{ + if ((data) != NULL) { + ckfree(data); + } + return 0; +} +#undef XFlush +int +XFlush( + Display *display) +{ + return 0; +} + /* *---------------------------------------------------------------------- * |