summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-06 16:16:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-06 16:16:16 (GMT)
commitc24b589a6b793f5112cd11f613af9aa7ae10b55f (patch)
tree1dfc65f9ac4dc2c457dc27fc0a96f3aafcf443d4 /generic/tkIntXlibDecls.h
parentc56bbfcace9ceaac2fa36e32d7c9349e7be3e3b5 (diff)
downloadtk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.zip
tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.tar.gz
tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.tar.bz2
Add stub entry for XLowerWindow() on MacOS (no idea why this was commented out, windows and X11 already had this)
More use of TCL_UNUSED()
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index f1b0018..7626d9d 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -743,7 +743,8 @@ EXTERN VisualID XVisualIDFromVisual(Visual *visual);
/* Slot 126 is reserved */
/* Slot 127 is reserved */
/* Slot 128 is reserved */
-/* Slot 129 is reserved */
+/* 129 */
+EXTERN int XLowerWindow(Display *d, Window w);
/* Slot 130 is reserved */
/* Slot 131 is reserved */
/* Slot 132 is reserved */
@@ -1074,7 +1075,7 @@ typedef struct TkIntXlibStubs {
void (*reserved126)(void);
void (*reserved127)(void);
void (*reserved128)(void);
- void (*reserved129)(void);
+ int (*xLowerWindow) (Display *d, Window w); /* 129 */
void (*reserved130)(void);
void (*reserved131)(void);
void (*reserved132)(void);
@@ -1636,7 +1637,8 @@ extern const TkIntXlibStubs *tkIntXlibStubsPtr;
/* Slot 126 is reserved */
/* Slot 127 is reserved */
/* Slot 128 is reserved */
-/* Slot 129 is reserved */
+#define XLowerWindow \
+ (tkIntXlibStubsPtr->xLowerWindow) /* 129 */
/* Slot 130 is reserved */
/* Slot 131 is reserved */
/* Slot 132 is reserved */