mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-14 08:22:13 -04:00
去除日志
This commit is contained in:
parent
3d3e838fc5
commit
38138d6ec0
1 changed files with 0 additions and 6 deletions
6
maomao.c
6
maomao.c
|
|
@ -1122,7 +1122,6 @@ applyrulesgeom(Client *c) {
|
||||||
c->geom.width = r->width > 0 ? r->width : c->geom.width;
|
c->geom.width = r->width > 0 ? r->width : c->geom.width;
|
||||||
c->geom.height = r->height > 0 ? r->height : c->geom.height;
|
c->geom.height = r->height > 0 ? r->height : c->geom.height;
|
||||||
// 重新计算居中的坐标
|
// 重新计算居中的坐标
|
||||||
lognumtofile(r->width);
|
|
||||||
c->geom = setclient_coordinate_center(c->geom);
|
c->geom = setclient_coordinate_center(c->geom);
|
||||||
hit = 1;
|
hit = 1;
|
||||||
}
|
}
|
||||||
|
|
@ -1150,8 +1149,6 @@ applyrules(Client *c) {
|
||||||
|
|
||||||
if ( (r->title && strstr(title, r->title)) || (r->id && strstr(appid, r->id))) {
|
if ( (r->title && strstr(title, r->title)) || (r->id && strstr(appid, r->id))) {
|
||||||
c->isfloating = r->isfloating > 0 ? r->isfloating : c->isfloating;
|
c->isfloating = r->isfloating > 0 ? r->isfloating : c->isfloating;
|
||||||
logtofile("isfloating");
|
|
||||||
lognumtofile(c->isfloating);
|
|
||||||
c->animation_type = r->animation_type == NULL ? c->animation_type : r->animation_type;
|
c->animation_type = r->animation_type == NULL ? c->animation_type : r->animation_type;
|
||||||
c->scroller_proportion = r->scroller_proportion > 0 ? r->scroller_proportion : scroller_default_proportion;
|
c->scroller_proportion = r->scroller_proportion > 0 ? r->scroller_proportion : scroller_default_proportion;
|
||||||
c->isnoborder = r->isnoborder > 0 ? r->isnoborder : c->isnoborder;
|
c->isnoborder = r->isnoborder > 0 ? r->isnoborder : c->isnoborder;
|
||||||
|
|
@ -1163,9 +1160,6 @@ applyrules(Client *c) {
|
||||||
c->geom.width = r->width > 0 ? r->width : c->geom.width;
|
c->geom.width = r->width > 0 ? r->width : c->geom.width;
|
||||||
c->geom.height = r->height > 0 ? r->height : c->geom.height;
|
c->geom.height = r->height > 0 ? r->height : c->geom.height;
|
||||||
// 重新计算居中的坐标
|
// 重新计算居中的坐标
|
||||||
logtofile("width");
|
|
||||||
lognumtofile(c->geom.width);
|
|
||||||
lognumtofile(c->geom.height);
|
|
||||||
c->geom = setclient_coordinate_center(c->geom);
|
c->geom = setclient_coordinate_center(c->geom);
|
||||||
}
|
}
|
||||||
if (r->isfullscreen && r->isfullscreen > 0) {
|
if (r->isfullscreen && r->isfullscreen > 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue