From 2d79062cc862824522ca7270e4d4e791852347cc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 07 Oct 2017 22:20:02 -0400 Subject: mq_tab_get_window(): New function --- (limited to 'src') 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); -- cgit v0.9.1