projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ddaa4
)
Allow to fire focussed hint via retrun hit.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 15 Dec 2012 23:16:39 +0000
(
00:16
+0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 15 Dec 2012 23:16:39 +0000
(
00:16
+0100)
src/hints.c
patch
|
blob
|
history
diff --git
a/src/hints.c
b/src/hints.c
index
8b8d784
..
a365d64
100644
(file)
--- a/
src/hints.c
+++ b/
src/hints.c
@@
-409,6
+409,10
@@
static gboolean hints_keypress_callback(WebKitWebView* webview, GdkEventKey* eve
guint keyval = event->keyval;
guint state = CLEAN_STATE_WITH_SHIFT(event);
+ if (keyval == GDK_Return) {
+ hints_fire(currentFocusNum);
+ return TRUE;
+ }
if (keyval == GDK_BackSpace && (state & GDK_SHIFT_MASK) && (state & GDK_CONTROL_MASK)) {
hintNum /= 10;
hints_update(hintNum);