diff options
author | Josh Rickmar <jrick@devio.us> | 2012-06-01 16:50:14 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-06-01 16:50:14 -0400 |
commit | 108f505da68aeaa8ff1674fe1596c3c3b872d85b (patch) | |
tree | f5310b01a2cc835acbae11a581563031dcca5f39 | |
parent | 6697fce3a8cf6a8f80b32015cf3668fdc9b5a0c8 (diff) | |
download | xombrero-108f505da68aeaa8ff1674fe1596c3c3b872d85b.tar.gz |
Run the socket command on the current tab, not the last one. This
fixes FS#251.
-rw-r--r-- | xombrero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xombrero.c b/xombrero.c index 7f64aa5..92c9d9d 100644 --- a/xombrero.c +++ b/xombrero.c @@ -7500,7 +7500,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); } |