We catch all return pressed to simulate the input activate callback, and stop
further processing of the key event. But the hinting uses it's own key event
callback that was never called if return was pressed.
vb_set_mode(VB_MODE_NORMAL, true);
return true;
- } else if (GPOINTER_TO_INT(is_input) && keyval == GDK_Return) {
+ } else if (GPOINTER_TO_INT(is_input) && keyval == GDK_Return && !(vb.state.mode & VB_MODE_HINTING)) {
/* simulate the gtk entries activate callback */
vb_input_activate();
return true;