From fcdc9f8b5abd724d75f53d48fdadbed9859e9e79 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 20 Aug 2008 10:21:23 -0700 Subject: [PATCH] XQuartz: Added more explanation to debug keylayout spew to cut down on report-spam. --- hw/xquartz/quartzKeyboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c index ba1ca5ae4..d5d028035 100644 --- a/hw/xquartz/quartzKeyboard.c +++ b/hw/xquartz/quartzKeyboard.c @@ -1192,7 +1192,7 @@ Bool QuartzReadSystemKeymap(darwinKeyboardInfo *info) { #if !defined(__x86_64__) && !defined(__ppc64__) if (chr_data == NULL) { - ErrorF("X11.app: Error detected in determining keyboard layout. Please report this error at http://xquartz.macosforge.org\n"); + ErrorF("X11.app: Error detected in determining keyboard layout. If you are using an Apple-provided keyboard layout, please report this error at http://xquartz.macosforge.org and http://bugreport.apple.com\n"); ErrorF("X11.app: Debug Info: keyboard_type=%u, currentKeyLayoutRef=%p, currentKeyLayoutDataRef=%p, chr_data=%p\n", (unsigned)keyboard_type, currentKeyLayoutRef, currentKeyLayoutDataRef, chr_data); @@ -1206,6 +1206,7 @@ Bool QuartzReadSystemKeymap(darwinKeyboardInfo *info) { if (chr_data == NULL) { ErrorF("X11.app: Debug Info: kKLuchrData fallback failed, trying kKLKCHRData.\n"); + ErrorF("If you are using a 3rd party keyboard layout, please see http://xquartz.macosforge.org/trac/ticket/154\n"); KLGetKeyboardLayoutProperty (key_layout, kKLKCHRData, &chr_data); is_uchr = 0; num_keycodes = 128;