mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-28 13:14:16 -04:00
opt: make sure the node init to null
This commit is contained in:
parent
0756eede9c
commit
55be0a989e
6 changed files with 78 additions and 56 deletions
|
|
@ -98,7 +98,8 @@ void client_pending_force_kill(Client *c) {
|
|||
}
|
||||
|
||||
void client_add_jump_label_node(Client *c) {
|
||||
c->jump_label_node = mango_jump_label_node_create(c->scene, config.jumplabeldata);
|
||||
c->jump_label_node =
|
||||
mango_jump_label_node_create(c->scene, config.jumplabeldata);
|
||||
wlr_scene_node_lower_to_bottom(&c->jump_label_node->scene_buffer->node);
|
||||
wlr_scene_node_set_enabled(&c->jump_label_node->scene_buffer->node, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue