fix: ipc update miss, direction judge error

This commit is contained in:
DreamMaoMao 2025-02-06 11:43:12 +08:00
parent fc26dd7a45
commit a0fb309d9a

8
main.c
View file

@ -3710,9 +3710,10 @@ void exchange_client(const Arg *arg) {
int is_special_animaiton_rule(Client *c) {
int visible_client_number = 0;
Client *count_c;
wl_list_for_each(count_c, &clients, link)
if (count_c && VISIBLEON(count_c,selmon) && !count_c->isminied && !c->iskilling){
visible_client_number++;
wl_list_for_each(count_c, &clients, link) {
if (count_c && VISIBLEON(count_c,selmon) && !count_c->isminied && !count_c->iskilling){
visible_client_number++;
}
}
if (visible_client_number < 2 && !c->isfloating) {
@ -4914,6 +4915,7 @@ unmapnotify(struct wl_listener *listener, void *data)
}
wlr_scene_node_destroy(&c->scene->node);
printstatus();
}
void //0.5