From 07556f315d414ec2c0c2d2a32cfe70dcb2715d98 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 25 Sep 2017 00:18:45 -0400 Subject: mq_tab_new(), mq_tab_new_relative(): Call mq_window_insert_tab() --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index 22fdc3e..0adf5e0 100644 --- a/src/tab.c +++ b/src/tab.c @@ -339,6 +339,8 @@ mq_tab_new(MqWindow *window, gchar *uri, MqTab *source) append_sibling(tab, source); + mq_window_insert_tab(window, tab->container, tab->tab, tab->position); + return tab; } @@ -351,6 +353,8 @@ mq_tab_new_relative(MqWindow *window, gchar *uri, MqTab *source) append_child(tab, source); + mq_window_insert_tab(window, tab->container, tab->tab, tab->position); + return tab; } -- cgit v0.9.1