about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorEdd Barrett <vext01@gmail.com>2010-12-24 17:09:10 +0000
committerEdd Barrett <vext01@gmail.com>2010-12-24 17:09:10 +0000
commit53c724480da724b46d54809689171646bda3c43a (patch)
tree8bb442f663b8d145198ddd1d2d2258b4b73fbe58
parenta233fbdd1b1ab5c30f7f41e685d696f5f5f8fd3d (diff)
downloadxombrero-53c724480da724b46d54809689171646bda3c43a.tar.gz
opps, we forgot to regenrate session keys for favorites.
not OK marco, but he would have wanted it this way.
-rw-r--r--xxxterm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 7bbd124..0c636ba 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -1140,6 +1140,10 @@ xtp_page_fl(struct tab *t, struct karg *args)
 	/* mark tab as favorite list */
 	t->xtp_meaning = XT_XTP_TAB_MEANING_FL;
 
+	/* new session key */
+	if (!update_favorite_tabs)
+		generate_xtp_session_key(&fl_session_key);
+
 	/* open favorites */
 	snprintf(file, sizeof file, "%s/%s/%s",
 	    pwd->pw_dir, XT_DIR, XT_FAVS_FILE);