projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e4400
)
Remove unneeded focus switching in inputbox_activate_cb.
author
Daniel Carl
<danielcarl@gmx.de>
Mon, 5 Aug 2013 21:54:40 +0000
(23:54 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Mon, 5 Aug 2013 21:54:40 +0000
(23:54 +0200)
I don't know why I've added this, but at the moment I can't find any reason or
use case where this might be required. Instead this make the ':input' command
called from inputbox hard to use, because the focus is removed from inputbox.
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
5732823
..
09ba47c
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-502,8
+502,6
@@
static void inputbox_activate_cb(GtkEntry *entry)
return;
}
- gtk_widget_grab_focus(GTK_WIDGET(vb.gui.webview));
-
/* do not free or modify text */
text = GET_TEXT();