opt: support none open animation in windowrule
This commit is contained in:
@@ -95,7 +95,7 @@ tags=id:9,layout_name:tile
|
|||||||
# isfloating: type-num(0 or 1)
|
# isfloating: type-num(0 or 1)
|
||||||
# isfullscreen: type-num(0 or 1)
|
# isfullscreen: type-num(0 or 1)
|
||||||
# scroller_proportion: type-float(0.1-1.0)
|
# scroller_proportion: type-float(0.1-1.0)
|
||||||
# animation_type_open : type-string(zoom,slide)
|
# animation_type_open : type-string(zoom,slide,none)
|
||||||
# animation_type_close : type-string(zoom,slide)
|
# animation_type_close : type-string(zoom,slide)
|
||||||
# isnoborder : type-num(0 or 1)
|
# isnoborder : type-num(0 or 1)
|
||||||
# monitor : type-int(0-99999)
|
# monitor : type-int(0-99999)
|
||||||
|
|||||||
4
maomao.c
4
maomao.c
@@ -4445,6 +4445,10 @@ void resize(Client *c, struct wlr_box geo, int interact) {
|
|||||||
c->animainit_geom = c->geom;
|
c->animainit_geom = c->geom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (c->animation_type_open && strcmp(c->animation_type_open,"none") == 0 && c->animation.action == OPEN) {
|
||||||
|
c->animainit_geom = c->geom;
|
||||||
|
}
|
||||||
|
|
||||||
// 开始应用动画设置
|
// 开始应用动画设置
|
||||||
client_set_pending_state(c);
|
client_set_pending_state(c);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user