replace hardware_keycode hack to stop focus cycle
This commit is contained in:
parent
ecab4a6dba
commit
742ed9c6c4
|
@ -597,8 +597,7 @@ 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) {
|
||||
// this stops the down key from leaving the GtkEntry...
|
||||
event->hardware_keycode = 0;
|
||||
return TRUE; // no focus cycling
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue