diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
commit | d568221710959cf7d783e6ff0fb80fb43a231124 (patch) | |
tree | 8d6f039393294c6ffac8533639afdebe5d68bfc1 /include/window.h | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'include/window.h')
-rw-r--r-- | include/window.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/window.h b/include/window.h index 5c17f43be..c46714aab 100644 --- a/include/window.h +++ b/include/window.h @@ -161,6 +161,11 @@ extern void DestroySubwindows( #endif ); +/* Quartz support on Mac OS X uses the HIToolbox + framework whose ChangeWindowAttributes function conflicts here. */ +#ifdef __DARWIN__ +#define ChangeWindowAttributes Darwin_X_ChangeWindowAttributes +#endif extern int ChangeWindowAttributes( #if NeedFunctionPrototypes WindowPtr /*pWin*/, @@ -170,7 +175,14 @@ extern int ChangeWindowAttributes( #endif ); +/* Quartz support on Mac OS X uses the HIToolbox + framework whose GetWindowAttributes function conflicts here. */ +#ifdef __DARWIN__ +#define GetWindowAttributes(w,c,x) Darwin_X_GetWindowAttributes(w,c,x) +extern void Darwin_X_GetWindowAttributes( +#else extern void GetWindowAttributes( +#endif #if NeedFunctionPrototypes WindowPtr /*pWin*/, ClientPtr /*client*/, |