summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab.c1
-rw-r--r--src/tab.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 1f92183..d1da243 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -58,5 +58,6 @@ mq_tab_get_container(MqTab *tab)
void
mq_tab_update_position(MqTab *tab, guint position)
{
+ tab->tab_position = position;
mq_tab_chrome_update_tab_position(tab->chrome, position);
}
diff --git a/src/tab.h b/src/tab.h
index 14652fb..14dc49d 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -31,6 +31,7 @@ typedef struct {
GtkWidget *container;
MqTabChrome *chrome;
MqTabBody *body;
+ guint tab_position;
WebKitWebView *web_view;
} MqTab;