mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-07 13:29:59 -05:00
opt: optimize code struct
This commit is contained in:
parent
29d4227f87
commit
b76bbc9e60
1 changed files with 3 additions and 3 deletions
|
|
@ -1209,9 +1209,6 @@ void applyrules(Client *c) {
|
|||
wlr_scene_node_reparent(&selmon->sel->scene->node, layers[LyrOverlay]);
|
||||
wlr_scene_node_raise_to_top(&selmon->sel->scene->node);
|
||||
}
|
||||
|
||||
// update border color
|
||||
setborder_color(c);
|
||||
}
|
||||
|
||||
void // 17
|
||||
|
|
@ -3239,6 +3236,9 @@ mapnotify(struct wl_listener *listener, void *data) {
|
|||
applyrules(c);
|
||||
}
|
||||
|
||||
// set border color
|
||||
setborder_color(c);
|
||||
|
||||
// make sure the animation is open type
|
||||
c->is_pending_open_animation = true;
|
||||
resize(c, c->geom, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue