From: Christian Heller Date: Fri, 17 May 2013 00:37:51 +0000 (+0200) Subject: init_win_meta() now defaults to knowledge of no window being active. X-Git-Tag: tce~1288 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=c4dd7e96a38e28dbfd50104cfc8ab35eff5fbf77;p=plomrogue init_win_meta() now defaults to knowledge of no window being active. --- diff --git a/windows.c b/windows.c index ebf6ecf..659318d 100644 --- a/windows.c +++ b/windows.c @@ -13,6 +13,7 @@ struct WinMeta init_win_meta (WINDOW * screen) { win_meta.chain_end = 0; win_meta.pad_offset = 0; win_meta.pad = newpad(win_meta.height, 1); + win_meta.active = 0; return win_meta; } void scroll_pad (struct WinMeta * win_meta, char dir) {