mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 18:01:37 -05:00
parent
99df3374b5
commit
9b07bcbc2a
1 changed files with 7 additions and 6 deletions
13
tree.c
13
tree.c
|
@ -1100,6 +1100,12 @@ void unlink_node(monitor_t *m, desktop_t *d, node_t *n)
|
||||||
d->focus = NULL;
|
d->focus = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
history_remove(d, p, false);
|
||||||
|
cancel_presel(m, d, p);
|
||||||
|
if (p->sticky) {
|
||||||
|
m->sticky_count--;
|
||||||
|
}
|
||||||
|
|
||||||
node_t *b = brother_tree(n);
|
node_t *b = brother_tree(n);
|
||||||
node_t *g = p->parent;
|
node_t *g = p->parent;
|
||||||
|
|
||||||
|
@ -1120,14 +1126,9 @@ void unlink_node(monitor_t *m, desktop_t *d, node_t *n)
|
||||||
}
|
}
|
||||||
|
|
||||||
b->birth_rotation = p->birth_rotation;
|
b->birth_rotation = p->birth_rotation;
|
||||||
n->parent = NULL;
|
|
||||||
|
|
||||||
history_remove(d, p, false);
|
|
||||||
cancel_presel(m, d, p);
|
|
||||||
if (p->sticky) {
|
|
||||||
m->sticky_count--;
|
|
||||||
}
|
|
||||||
free(p);
|
free(p);
|
||||||
|
n->parent = NULL;
|
||||||
|
|
||||||
propagate_flags_upward(m, d, b);
|
propagate_flags_upward(m, d, b);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue