Revert "replace hardware_keycode hack to stop focus cycle"
This reverts commit 742ed9c6c4
.
This commit is contained in:
parent
f913bc054d
commit
5fd64fb634
|
@ -597,7 +597,8 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in
|
||||||
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Up);
|
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Up);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else if (event->keyval == GDK_KEY_Down) {
|
} 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue