about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-01-30 15:37:09 +0000
committerMarco Peereboom <marco@conformal.com>2011-01-30 15:37:09 +0000
commitf399d2b42ff15e09a161f40c29552d7027a0d247 (patch)
tree1a30bc2e418c1660e1045063c56eaa18d4d07277
parentc930ada1a417c8066b3dae97b4aa82422d6a7085 (diff)
downloadxombrero-f399d2b42ff15e09a161f40c29552d7027a0d247.tar.gz
make sure when one ctrl-clicks that the bfl is emptied so that the backward
button doesn't eroneously come on
-rw-r--r--xxxterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 03225f8..a972722 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -6229,7 +6229,8 @@ create_new_tab(char *title, struct undo *u, int focus)
 
 		g_list_free(items);
 		g_list_free(u->history);
-	}
+	} else
+		webkit_web_back_forward_list_clear(t->bfl);
 }
 
 void