Fix 1996/jonth for macOS

The problem was the function pointer w(), which points to
XCreateWindow(), did not have the parameters and this caused a segfault
in macOS. Because it takes a lot of parameters I split the line up to
multiple lines by having a '\' at the end of lines (the entire code is
in #defined macros and two #includes).
This commit is contained in:
Cody Boone Ferguson committed 2023-08-01 07:28:06 -07:00
1 parent 6966c6f6be
commit 39143fc6bc
4 files changed
+10 -97

No files matched your search

+1 -2
View File
@@ -16,8 +16,7 @@ make all
NOTE: this entry requires `X11/Xlib.h` header file and the X11 library to
compile. macOS users running Mountain Lion and later will need to download and
install [XQuartz](https://www.xquartz.org) in order to compile and run this
entry. But see [bugs.md](/bugs.md) for a known problem with running this under
macOS and with a workaround of sorts plus more information on where it fails.
entry.
## To run: