From 5c1fcb1d2217c4c4daa507c7ac7e939d88e74c30 Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Wed, 27 Oct 1999 22:53:52 +0000 Subject: [PATCH] 17305: Fix ? handling. Also add myself to a debug ifdef. r=pavlov --- widget/src/gtk/nsGtkEventHandler.cpp | 1 + widget/src/gtk/nsWidget.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/src/gtk/nsGtkEventHandler.cpp b/widget/src/gtk/nsGtkEventHandler.cpp index 8f98c29577c0..6e5f92943263 100644 --- a/widget/src/gtk/nsGtkEventHandler.cpp +++ b/widget/src/gtk/nsGtkEventHandler.cpp @@ -211,6 +211,7 @@ struct nsKeyConverter nsKeycodes[] = { // Some shifted keys, see bug 15463. // These should be subject to different keyboard mappings; // how do we do that in gtk? + { NS_VK_SLASH, GDK_question }, { NS_VK_SEMICOLON, GDK_colon }, { NS_VK_BACK_QUOTE, GDK_asciitilde }, { NS_VK_COMMA, GDK_less }, diff --git a/widget/src/gtk/nsWidget.cpp b/widget/src/gtk/nsWidget.cpp index d4e8b57863ed..d3d30ce63ec1 100644 --- a/widget/src/gtk/nsWidget.cpp +++ b/widget/src/gtk/nsWidget.cpp @@ -1789,7 +1789,7 @@ nsWidget::OnButtonPressSignal(GdkEventButton * aGdkButtonEvent) nsMouseEvent event; PRUint32 eventType = 0; -#ifdef DEBUG_pavlov +#if defined(DEBUG_pavlov) || defined(DEBUG_akkana) printf("button press\n"); #endif