From 32d0bf7f8fb8be14c2f7abd17bdaaf4ffc99d45c Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Sat, 3 Aug 2024 17:27:15 +0200 Subject: [PATCH] url loaddeeeddd --- surf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/surf.c b/surf.c index 1e8433e..0213b6c 100644 --- a/surf.c +++ b/surf.c @@ -414,11 +414,8 @@ void move_tab(Client *c, const Arg *a) { void update_tab_url(Client *c) { char *url = geturi(c); - g_print("updated tab : %c\n", url); - Tab *selected_tab = g_list_nth_data(c->tabs, c->selected_tab); selected_tab->url = g_strdup(url); - } void update_tab_title(Client *c) { @@ -427,7 +424,7 @@ void update_tab_title(Client *c) { Tab *selected_tab = g_list_nth_data(c->tabs, c->selected_tab); selected_tab->title = g_strdup(title); - //update_tab_url(c); + update_tab_url(c); update_tab_bar(c); }