summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/window.c2
-rw-r--r--src/window.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 3c05330..fcf2560 100644
--- a/src/window.c
+++ b/src/window.c
@@ -81,6 +81,8 @@ mq_window_new(MqApplication *application, gchar **uris)
g_signal_connect(window->notebook, "page-reordered",
G_CALLBACK(update_positions), window);
+ window->root_tab = mq_tab_new_root();
+
if (uris && uris[0]) {
for (i = 0; uris && uris[i]; ++i) {
add_tab(application, window, uris[i], -1);
diff --git a/src/window.h b/src/window.h
index 6a7dab6..0356aa8 100644
--- a/src/window.h
+++ b/src/window.h
@@ -31,6 +31,7 @@ typedef struct MqWindow MqWindow;
struct MqWindow {
GtkWidget *window;
GtkWidget *notebook;
+ MqTab *root_tab;
};
MqWindow *