mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-25 06:59:50 -05:00
opt:only scale first frame in open
This commit is contained in:
parent
78f9266b72
commit
4886e4068f
1 changed files with 1 additions and 1 deletions
2
maomao.c
2
maomao.c
|
|
@ -3722,6 +3722,7 @@ mapnotify(struct wl_listener *listener, void *data) {
|
||||||
c->istiled = 0;
|
c->istiled = 0;
|
||||||
c->iskilling = 0;
|
c->iskilling = 0;
|
||||||
c->scroller_proportion = scroller_default_proportion;
|
c->scroller_proportion = scroller_default_proportion;
|
||||||
|
c->need_scale_first_frame = true;
|
||||||
// nop
|
// nop
|
||||||
if (new_is_master &&
|
if (new_is_master &&
|
||||||
strcmp(selmon->pertag->ltidxs[selmon->pertag->curtag]->name,
|
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);
|
// wl_event_source_timer_update(c->timer_tick, 10);
|
||||||
c->need_output_flush = true;
|
c->need_output_flush = true;
|
||||||
c->need_scale_first_frame = true;
|
|
||||||
|
|
||||||
// oldgeom = c->geom;
|
// oldgeom = c->geom;
|
||||||
bbox = interact ? &sgeom : &c->mon->w;
|
bbox = interact ? &sgeom : &c->mon->w;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue