From 4886e4068f01236fe9f869e9b9a8bfd28edca909 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 29 Mar 2025 15:37:19 +0800 Subject: [PATCH] opt:only scale first frame in open --- maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maomao.c b/maomao.c index 0281c0b..710ab38 100644 --- a/maomao.c +++ b/maomao.c @@ -3722,6 +3722,7 @@ mapnotify(struct wl_listener *listener, void *data) { c->istiled = 0; c->iskilling = 0; c->scroller_proportion = scroller_default_proportion; + c->need_scale_first_frame = true; // nop if (new_is_master && strcmp(selmon->pertag->ltidxs[selmon->pertag->curtag]->name, @@ -4495,7 +4496,6 @@ void resize(Client *c, struct wlr_box geo, int interact) { // wl_event_source_timer_update(c->timer_tick, 10); c->need_output_flush = true; - c->need_scale_first_frame = true; // oldgeom = c->geom; bbox = interact ? &sgeom : &c->mon->w;