From: fliep Date: Sun, 3 May 2009 17:38:35 +0000 (+0000) Subject: Fixed a bug: pair windows need window streams too, even though they don't print X-Git-Tag: v0.9~420 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=bc8aba85a7b7c0acc6b9da3460c69b708cb4e409;p=projects%2Fchimara%2Fchimara.git Fixed a bug: pair windows need window streams too, even though they don't print --- diff --git a/src/window.c b/src/window.c index 6ae9f55..053bb48 100644 --- a/src/window.c +++ b/src/window.c @@ -469,7 +469,8 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, pair->rock = 0; pair->type = wintype_Pair; pair->window_node = g_node_new(pair); - pair->window_stream = NULL; + /* You can print to a pair window's window stream, but it has no effect */ + pair->window_stream = window_stream_new(pair); pair->echo_stream = NULL; /* The pair window must know about its children's split method */