From 66982c922628a9b4cde757a4342a92717fb092a0 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 1 Jun 2012 17:48:52 -0400 Subject: Ugh. I guess I'll have to do a lot of these. This fixes the socket command running on the wrong tab. --- xombrero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xombrero.c') diff --git a/xombrero.c b/xombrero.c index 19c3a88..218fef1 100644 --- a/xombrero.c +++ b/xombrero.c @@ -7583,7 +7583,7 @@ socket_watcher(GIOChannel *source, GIOCondition condition, gpointer data) if (n <= 0) return (TRUE); - tt = TAILQ_LAST(&tabs, tab_list); + tt = get_current_tab(); cmd_execute(tt, str); return (TRUE); } -- cgit 1.4.1-2-gfad0