diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-21 23:34:23 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-21 23:34:23 (EDT) |
commit | 9873ccb9a6c6876b9fc7024f89a1f102efaeedcc (patch) | |
tree | fd8f960e2f5fbe48c2e4e938f05a875e9913d781 /src | |
parent | 9f48ae41d3b19a8777bbbfd6f8a57fcdadf3b1a5 (diff) | |
download | marquee-9873ccb9a6c6876b9fc7024f89a1f102efaeedcc.zip marquee-9873ccb9a6c6876b9fc7024f89a1f102efaeedcc.tar.gz marquee-9873ccb9a6c6876b9fc7024f89a1f102efaeedcc.tar.bz2 |
MqTab: Save tab position in struct
Diffstat (limited to 'src')
-rw-r--r-- | src/tab.c | 1 | ||||
-rw-r--r-- | src/tab.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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); } @@ -31,6 +31,7 @@ typedef struct { GtkWidget *container; MqTabChrome *chrome; MqTabBody *body; + guint tab_position; WebKitWebView *web_view; } MqTab; |