From 511f1fb07d48e1264ccc9f486b806489b69f22ec Mon Sep 17 00:00:00 2001 From: faiface Date: Tue, 7 May 2019 01:38:54 +0200 Subject: minor --- mux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mux.go b/mux.go index 47f2330..756e5da 100644 --- a/mux.go +++ b/mux.go @@ -80,7 +80,8 @@ func (mux *Mux) makeEnv(master bool) Env { mux.mu.Lock() mux.eventsIns = append(mux.eventsIns, eventsIn) - // make sure to always send a resize event to a new Env if we got it already + // make sure to always send a resize event to a new Env if we got the size already + // that means it missed the resize event by the root Env if mux.haveR { eventsIn <- Eventf("resize/%d/%d/%d/%d", mux.r.Min.X, mux.r.Min.Y, mux.r.Max.X, mux.r.Max.Y) } -- cgit v1.2.3