From 1c915bbc1925894b16bd0f1b292407e1a3a3b039 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sat, 18 Dec 2004 18:34:56 +0000 Subject: [PATCH] Don't restrict MacOS X Xserver detection on native versions since SheepShaver can run remotely and drawing to an X window on MacOS X. --- SheepShaver/src/Unix/video_x.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/SheepShaver/src/Unix/video_x.cpp b/SheepShaver/src/Unix/video_x.cpp index cb98afe7..af21c9f9 100644 --- a/SheepShaver/src/Unix/video_x.cpp +++ b/SheepShaver/src/Unix/video_x.cpp @@ -892,12 +892,10 @@ static void keycode_init(void) // Search for server vendor string, then read keycodes const char *vendor = ServerVendor(x_display); -#if (defined(__APPLE__) && defined(__MACH__)) // Force use of MacX mappings on MacOS X with Apple's X server int dummy; if (XQueryExtension(x_display, "Apple-DRI", &dummy, &dummy, &dummy)) vendor = "MacX"; -#endif bool vendor_found = false; char line[256]; while (fgets(line, 255, f)) {