Hi, it would be very cool to have an updated XQuartz. can you put your build somewhere to be able to try it?
best regards, nicolas Le ven. 6 nov. 2020 à 05:27, John Talbot <ztalbot2...@gmail.com> a écrit : > > Hi all, > > I was getting the following error when compiling quartz under Xcode > 12.01GM > > X11Application.m:412:17: error: use of undeclared identifier '_appFlags' > _appFlags._active = YES; > > > The fix I applied was from the runtime headers I found here: > https://github.com/mstg/OSX-Runtime-Headers/blob/master/AppKit/NSApplication.h > > > diff X11Application.h X11Application.h.orig > (tags/XQuartz-2.7.11)xorg-server > 42,92d41 > < > < // NSEvent *_currentEvent; > < // id _windowList; > < // id _keyWindow; > < // id _mainWindow; > < // id _delegate; > < // id *_hiddenList; > < // int _hiddenCount; > < // long long _context; > < // void *_appleEventSuspensionID; > < // id _previousKeyWindow; > < // short _unusedApp; > < // short _running; > < struct __appFlags { > < unsigned int _hidden:1; > < unsigned int _appleEventActivationInProgress:1; > < unsigned int _active:1; > < unsigned int _hasBeenRun:1; > < unsigned int _doingUnhide:1; > < unsigned int _delegateReturnsValidRequestor:1; > < unsigned int _deactPending:1; > < unsigned int _invalidState:1; > < unsigned int _invalidEvent:1; > < unsigned int _postedWindowsNeedUpdateNote:1; > < unsigned int _wantsToActivate:1; > < unsigned int _doingHide:1; > < unsigned int _dontSendShouldTerminate:1; > < unsigned int _ignoresFullScreen:1; > < unsigned int _finishedLaunching:1; > < unsigned int _hasEventDelegate:1; > < unsigned int _appDying:1; > < unsigned int _didNSOpenOrPrint:1; > < unsigned int _inDealloc:1; > < unsigned int _pendingDidFinish:1; > < unsigned int _hasKeyFocus:1; > < unsigned int _panelsNonactivating:1; > < unsigned int _hiddenOnLaunch:1; > < unsigned int _openStatus:2; > < unsigned int _batchOrdering:1; > < unsigned int _waitingForTerminationReply:1; > < unsigned int _windowMoveDisabled:1; > < unsigned int _enumeratingMemoryPressureHandlers:1; > < unsigned int _didTryRestoringPersistentState:1; > < unsigned int _reservedN:1; > < unsigned int _mightBeSwitching:1; > < } _appFlags; > < // id _mainMenu; > < // id _appIcon; > < // void *_unused; > < // id _eventDelegate; > < // struct NSThreadPrivate *_threadingSupport; > 95,100d43 > > The file X11Application.h seems to have been created for this purpose, but > does not need to know everything about NSApplication and while there are > many deprecated warning during the compile of the corresponding .m file, > Xquartz now builds and appears to work without some crashes I was seeing. > > I hope this helps someone. > > Take care, > John Talbot > > > > > Sent from Zarf’s iPad Air 2 > > _______________________________________________ > Xquartz-dev mailing list > Xquartz-dev@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/xquartz-dev >
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/xquartz-dev