XQuartz: Add a defaults option to disable the RENDER extension
RENDER has some ugly issues on XQuartz, so add an option to disable RENDER. Enables workaround for: https://bugs.freedesktop.org/show_bug.cgi?id=26124 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
5ff46d651a
commit
0bb8a2566d
|
@ -126,6 +126,7 @@ X11ApplicationMain(int argc, char **argv, char **envp);
|
|||
#define PREFS_APPKIT_MODIFIERS "appkit_modifiers"
|
||||
#define PREFS_WINDOW_ITEM_MODIFIERS "window_item_modifiers"
|
||||
#define PREFS_ROOTLESS "rootless"
|
||||
#define PREFS_RENDER_EXTENSION "enable_render_extension"
|
||||
#define PREFS_TEST_EXTENSIONS "enable_test_extensions"
|
||||
#define PREFS_XP_OPTIONS "xp_options"
|
||||
#define PREFS_LOGIN_SHELL "login_shell"
|
||||
|
|
|
@ -69,6 +69,7 @@ static dispatch_queue_t eventTranslationQueue;
|
|||
#endif
|
||||
|
||||
extern Bool noTestExtensions;
|
||||
extern Bool noRenderExtension;
|
||||
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
|
||||
static TISInputSourceRef last_key_layout;
|
||||
|
@ -889,6 +890,9 @@ darwinDesiredDepth];
|
|||
noTestExtensions = ![self prefs_get_boolean: @PREFS_TEST_EXTENSIONS default:
|
||||
FALSE];
|
||||
|
||||
noRenderExtension = ![self prefs_get_boolean: @PREFS_RENDER_EXTENSION default:
|
||||
TRUE];
|
||||
|
||||
XQuartzScrollInDeviceDirection =[self prefs_get_boolean: @PREFS_SCROLL_IN_DEV_DIRECTION default:
|
||||
XQuartzScrollInDeviceDirection];
|
||||
|
||||
|
|
Loading…
Reference in New Issue