From: Christian Heller Date: Mon, 26 Aug 2013 10:47:08 +0000 (+0200) Subject: Don't update more windows than necessary in resize_active_win(). X-Git-Tag: tce~1031 X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=f4ced5cf0092cc3a945d73a8950baecb23374d23;p=plomrogue Don't update more windows than necessary in resize_active_win(). --- diff --git a/src/windows.c b/src/windows.c index 64e6108..a7bf88f 100644 --- a/src/windows.c +++ b/src/windows.c @@ -506,11 +506,11 @@ extern uint8_t resize_active_win(struct WinMeta * wmeta, struct yx_uint16 size) && size.y < wmeta->padframe.size.y) { wmeta->active->frame.size = size; - return update_wins(wmeta, wmeta->_chain_start); /* Following windows' */ - } /* positioning may be */ - return 0; /* affected. */ -} /* TODO: Why start at */ - /* chain_start then? */ + return update_wins(wmeta, wmeta->active); /* Positioning of following */ + } /* windows may be affected. */ + return 0; +} + extern void cycle_active_win(struct WinMeta * wmeta, char dir)