mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-23 00:30:45 +02:00
XQuartz: Added option to enable/disable test extensions
defaults write org.x.X11 enable_test_extensions -boolean true (cherry picked from commitfd4710aff3) (cherry picked from commit635019ad18)
This commit is contained in:
parent
e9ee5d4f61
commit
d4fb734c63
4 changed files with 17 additions and 4 deletions
|
|
@ -92,6 +92,7 @@ extern int quartzHasRoot, quartzEnableRootless, quartzFullscreenMenu;
|
|||
#define PREFS_APPKIT_MODIFIERS "appkit_modifiers"
|
||||
#define PREFS_WINDOW_ITEM_MODIFIERS "window_item_modifiers"
|
||||
#define PREFS_ROOTLESS "rootless"
|
||||
#define PREFS_TEST_EXTENSIONS "enable_test_extensions"
|
||||
#define PREFS_XP_OPTIONS "xp_options"
|
||||
#define PREFS_LOGIN_SHELL "login_shell"
|
||||
#define PREFS_CLICK_THROUGH "wm_click_through"
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ extern BOOL xpbproxy_init (void);
|
|||
int X11EnableKeyEquivalents = TRUE, quartzFullscreenMenu = FALSE;
|
||||
int quartzHasRoot = FALSE, quartzEnableRootless = TRUE;
|
||||
|
||||
extern Bool noTestExtensions;
|
||||
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
|
||||
static TISInputSourceRef last_key_layout;
|
||||
#else
|
||||
|
|
@ -708,14 +710,16 @@ static NSMutableArray * cfarray_to_nsarray (CFArrayRef in) {
|
|||
}
|
||||
|
||||
X11EnableKeyEquivalents = [self prefs_get_boolean:@PREFS_KEYEQUIVS
|
||||
default:X11EnableKeyEquivalents];
|
||||
default:X11EnableKeyEquivalents];
|
||||
|
||||
darwinSyncKeymap = [self prefs_get_boolean:@PREFS_SYNC_KEYMAP
|
||||
default:darwinSyncKeymap];
|
||||
default:darwinSyncKeymap];
|
||||
|
||||
darwinDesiredDepth = [self prefs_get_integer:@PREFS_DEPTH
|
||||
default:darwinDesiredDepth];
|
||||
|
||||
default:darwinDesiredDepth];
|
||||
|
||||
noTestExtensions = ![self prefs_get_boolean:@PREFS_TEST_EXTENSIONS
|
||||
default:FALSE];
|
||||
}
|
||||
|
||||
/* This will end up at the end of the responder chain. */
|
||||
|
|
|
|||
|
|
@ -71,6 +71,9 @@ Update the the OSX NSPasteboard when the X11 CLIPBOARD is updated. Note that en
|
|||
.TP 8
|
||||
.B defaults write org.x.X11 sync_primary_on_select -boolean true
|
||||
This option defaults to false and is provided only "for experts." It updates the NSPasteboard whenever a new X11 selection is made (rather than requiring you to hit cmd-c to copy the selection to the NSPasteboard). Since the X11 protocol does not require applications to send notification when they change selection, this might not work in all cases (if you run into this problem, try selecting text in another application first, then selecting the text you want).
|
||||
.TP 8
|
||||
.B defaults write org.x.X11 enable_test_extensions -boolean true
|
||||
This option defaults to false and is only accessible through the command line. Enable this option to turn on the DEC-XTRAP, RECORD, and XTEST extensions in the server.
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
In addition to the normal server options described in the \fIXserver(1)\fP
|
||||
|
|
|
|||
|
|
@ -39,6 +39,11 @@ X11_LDFLAGS += \
|
|||
-Wl,-framework,OpenGL
|
||||
endif
|
||||
|
||||
if RECORD
|
||||
X11_LDADD += \
|
||||
$(top_builddir)/record/librecord.la
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = Xquartz
|
||||
|
||||
dist_Xquartz_SOURCES = \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue