fix: ipc update miss, direction judge error
This commit is contained in:
6
main.c
6
main.c
@@ -3710,10 +3710,11 @@ void exchange_client(const Arg *arg) {
|
|||||||
int is_special_animaiton_rule(Client *c) {
|
int is_special_animaiton_rule(Client *c) {
|
||||||
int visible_client_number = 0;
|
int visible_client_number = 0;
|
||||||
Client *count_c;
|
Client *count_c;
|
||||||
wl_list_for_each(count_c, &clients, link)
|
wl_list_for_each(count_c, &clients, link) {
|
||||||
if (count_c && VISIBLEON(count_c,selmon) && !count_c->isminied && !c->iskilling){
|
if (count_c && VISIBLEON(count_c,selmon) && !count_c->isminied && !count_c->iskilling){
|
||||||
visible_client_number++;
|
visible_client_number++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (visible_client_number < 2 && !c->isfloating) {
|
if (visible_client_number < 2 && !c->isfloating) {
|
||||||
return DOWN;
|
return DOWN;
|
||||||
@@ -4914,6 +4915,7 @@ unmapnotify(struct wl_listener *listener, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
wlr_scene_node_destroy(&c->scene->node);
|
wlr_scene_node_destroy(&c->scene->node);
|
||||||
|
printstatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void //0.5
|
void //0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user