home · contact · privacy
init_win_meta() now defaults to knowledge of no window being active.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 17 May 2013 00:37:51 +0000 (02:37 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 17 May 2013 00:37:51 +0000 (02:37 +0200)
windows.c

index ebf6ecf7af55148f8ed27222a5090644a9576010..659318deeea90a4343f95437eec3f9cc92804c4c 100644 (file)
--- 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) {