From 3fe2d37de3b50d859646dc2aa6ac5dc3cf3df93c Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sat, 20 Feb 2010 20:52:21 +0000 Subject: Make new window not the default and hide cmd --- xxxterm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xxxterm.c b/xxxterm.c index 0c5e954..80072d3 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -526,7 +526,11 @@ webview_event_cb(GtkWidget *w, GdkEvent *e, struct tab *t) /* catch mouse buttons when hovering over a link */ if (e->type == GDK_BUTTON_RELEASE && t->ctrl && t->hover) { DNPRINTF(XT_D_KEY, "webview_event_cb: %s\n", t->hover); - create_new_tab(t->hover, 1); + create_new_tab(t->hover, 0); + + /* not sure why it reappears but hide it */ + gtk_widget_hide(t->cmd); + return (XT_CB_HANDLED); } -- cgit 1.4.1-2-gfad0