diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-19 20:49:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-19 20:49:22 (GMT) |
commit | dff6d16fcad7edb9640b8459ddd29d6415c6625e (patch) | |
tree | 9f82f5fcbf0cd8f6fd4375065c961edc06a5f339 /macosx/tkMacOSXXStubs.c | |
parent | 0a4a93860c0f8ca3f7eb4196ea9ae0bfd3029ed0 (diff) | |
download | tk-dff6d16fcad7edb9640b8459ddd29d6415c6625e.zip tk-dff6d16fcad7edb9640b8459ddd29d6415c6625e.tar.gz tk-dff6d16fcad7edb9640b8459ddd29d6415c6625e.tar.bz2 |
Fix more X11 function signatures in MacOSX port
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r-- | macosx/tkMacOSXXStubs.c | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c index 9d4f7db..b474817 100644 --- a/macosx/tkMacOSXXStubs.c +++ b/macosx/tkMacOSXXStubs.c @@ -450,13 +450,14 @@ XChangeProperty( return Success; } -void +int XSelectInput( Display* display, Window w, long event_mask) { Debugger(); + return Success; } int @@ -515,11 +516,12 @@ XSendEvent( return 0; } -void +int XClearWindow( Display* display, Window w) { + return Success; } /* @@ -531,6 +533,7 @@ XDrawPoint( int x, int y) { + return Success; } int @@ -542,6 +545,7 @@ XDrawPoints( int npoints, int mode) { + return Success; } */ @@ -560,7 +564,7 @@ XWarpPointer( return Success; } -void +int XQueryColor( Display* display, Colormap colormap, @@ -579,9 +583,10 @@ XQueryColor( d->blue = (b << 8) | b; d->flags = DoRed|DoGreen|DoBlue; d->pad = 0; + return Success; } -void +int XQueryColors( Display* display, Colormap colormap, @@ -604,6 +609,7 @@ XQueryColors( d->flags = DoRed|DoGreen|DoBlue; d->pad = 0; } + return Success; } int @@ -642,15 +648,16 @@ XGetWindowProperty( return 0; } -void +int XRefreshKeyboardMapping( XMappingEvent *x) { /* used by tkXEvent.c */ Debugger(); + return Success; } -void +int XSetIconName( Display* display, Window w, @@ -660,9 +667,10 @@ XSetIconName( * This is a no-op, no icon name for Macs. */ display->request++; + return Success; } -void +int XForceScreenSaver( Display* display, int mode) @@ -674,6 +682,7 @@ XForceScreenSaver( */ display->request++; + return Success; } void @@ -787,53 +796,59 @@ XChangeWindowAttributes( return Success; } -void +int XSetWindowBackground( Display *display, Window window, unsigned long value) { + return Success; } -void +int XSetWindowBackgroundPixmap( Display *display, Window w, Pixmap background_pixmap) { + return Success; } -void +int XSetWindowBorder( Display *display, Window w, unsigned long border_pixel) { + return Success; } -void +int XSetWindowBorderPixmap( Display *display, Window w, Pixmap border_pixmap) { + return Success; } -void +int XSetWindowBorderWidth( Display *display, Window w, unsigned int width) { + return Success; } -void +int XSetWindowColormap( Display *display, Window w, Colormap colormap) { Debugger(); + return Success; } Status |