From 5fd64fb6348caaddc89deaec3d1f78e2e1162751 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 18 Sep 2012 16:22:11 -0400 Subject: [PATCH] Revert "replace hardware_keycode hack to stop focus cycle" This reverts commit 742ed9c6c448058ad6d7c8a21c609f301758d600. --- termite.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/termite.cc b/termite.cc index 87cf046..8a99ba2 100644 --- a/termite.cc +++ b/termite.cc @@ -597,7 +597,8 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Up); return TRUE; } else if (event->keyval == GDK_KEY_Down) { - return TRUE; // no focus cycling + // this stops the down key from leaving the GtkEntry... + event->hardware_keycode = 0; } }