summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-07 22:20:02 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-07 22:20:02 (EDT)
commit2d79062cc862824522ca7270e4d4e791852347cc (patch)
tree62a292ceed6efbf712dd57d586029ad3adf88a34
parent5ab5c07b57c944ba93c1df5eb59e15cc0526bdaf (diff)
downloadmarquee-2d79062cc862824522ca7270e4d4e791852347cc.zip
marquee-2d79062cc862824522ca7270e4d4e791852347cc.tar.gz
marquee-2d79062cc862824522ca7270e4d4e791852347cc.tar.bz2
mq_tab_get_window(): New function
-rw-r--r--src/tab.c6
-rw-r--r--src/tab.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 864735e..3e70fe0 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -576,6 +576,12 @@ mq_tab_get_application(MqTab *tab)
return tab->application;
}
+MqWindow *
+mq_tab_get_window(MqTab *tab)
+{
+ return tab->window;
+}
+
void
mq_tab_update_position(MqTab *tab, guint position)
{
diff --git a/src/tab.h b/src/tab.h
index ee0c0f3..7d61bbd 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -70,6 +70,9 @@ mq_tab_quit(MqTab *tab);
MqApplication *
mq_tab_get_application(MqTab *tab);
+MqWindow *
+mq_tab_get_window(MqTab *tab);
+
void
mq_tab_update_position(MqTab *tab, guint position);