X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=src%2Fwindows.c;h=a7bf88fc22ba063b46de8d6fc49aa6a4adf3ab83;hb=f4ced5cf0092cc3a945d73a8950baecb23374d23;hp=64e610847a270313b21990660a3cec081ef4e95f;hpb=45b98ea91cf2075e33dc2bfd302a701a959feb36;p=plomrogue 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)