xorg-libx11/include/X11
Alan Coopersmith 92d226e34a XlibInt.h: prevent Win32 CreateWindow macro from leaking into our code
Prevents compiler errors such as:

../../include/X11/Xlibint.h:542:16: error: 'xCreateWindowAReq' undeclared
 (first use in this function); did you mean 'xCreateWindowReq'?
  542 |         req = (x##name##Req *) _XGetRequest(dpy, X_##name, sz)
      |                ^
../../include/X11/Xlibint.h:554:9: note: in expansion of macro 'GetReqSized'
  554 |         GetReqSized(name, SIZEOF(x##name##Req), req)
      |         ^~~~~~~~~~~
cmsCmap.c:159:17: note: in expansion of macro 'GetReq'
  159 |                 GetReq(CreateWindow, req);
      |                 ^~~~~~

Fixes: eb1c272a ("Fix a9e845 and 797755 Allow X*IfEvent() to reenter libX11")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/299>
2026-03-15 14:33:59 -07:00
..
extensions XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 2022-04-23 16:38:49 +00:00
.gitignore .gitignore: use common defaults with custom section # 24239 2009-11-14 09:26:16 -05:00
cursorfont.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
ImUtil.h Avoid the use of "register" keyword in public headers. 2020-08-28 20:28:18 +00:00
Xcms.h Tell clang not to report -Wpadded warnings on public headers we can't fix 2013-01-09 20:50:32 -08:00
XKBlib.h XkbOpenDisplay: Add _Xconst qualifier to display name argument 2022-04-23 16:38:49 +00:00
Xlib-xcb.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
Xlib.h unifdef __UNIXOS2__ 2024-02-11 14:56:22 -08:00
XlibConf.h.in nuke RCS Ids 2008-03-09 09:08:07 +01:00
Xlibint.h XlibInt.h: prevent Win32 CreateWindow macro from leaking into our code 2026-03-15 14:33:59 -07:00
Xlocale.h Drop X_LOCALE fallback for OS'es without setlocale() 2013-11-22 22:02:17 -08:00
Xregion.h Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 2013-08-20 12:51:04 -07:00
Xresource.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
Xutil.h Xutil.h: use Bool for XEmptyRegion(), XEqualRegion() 2023-08-29 22:50:39 +00:00