From 9873ccb9a6c6876b9fc7024f89a1f102efaeedcc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 21 Sep 2017 23:34:23 -0400 Subject: MqTab: Save tab position in struct --- (limited to 'src') 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; -- cgit v0.9.1