mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 10:40:25 +00:00
xquartz: Disable COMPOSITE at runtime
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit 2567388a29)
This commit is contained in:
@@ -72,6 +72,10 @@ FatalError(const char *f, ...) _X_ATTRIBUTE_PRINTF(1, 2) _X_NORETURN;
|
||||
|
||||
extern int noPanoramiXExtension;
|
||||
|
||||
#ifdef COMPOSITE
|
||||
extern Bool noCompositeExtension;
|
||||
#endif
|
||||
|
||||
#define DEFAULT_CLIENT X11BINDIR "/xterm"
|
||||
#define DEFAULT_STARTX X11BINDIR "/startx -- " X11BINDIR "/Xquartz"
|
||||
#define DEFAULT_SHELL "/bin/sh"
|
||||
@@ -635,6 +639,11 @@ main(int argc, char **argv, char **envp)
|
||||
/* The server must not run the PanoramiX operations. */
|
||||
noPanoramiXExtension = TRUE;
|
||||
|
||||
#ifdef COMPOSITE
|
||||
/* https://gitlab.freedesktop.org/xorg/xserver/-/issues/1409 */
|
||||
noCompositeExtension = TRUE;
|
||||
#endif
|
||||
|
||||
/* Setup the initial crasherporter info */
|
||||
strlcpy(__crashreporter_info_buff__, __crashreporter_info__base,
|
||||
sizeof(__crashreporter_info_buff__));
|
||||
|
||||
Reference in New Issue
Block a user