From f4ced5cf0092cc3a945d73a8950baecb23374d23 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 26 Aug 2013 12:47:08 +0200 Subject: [PATCH] Don't update more windows than necessary in resize_active_win(). --- src/windows.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 2.30.2