fix: ipc update miss, direction judge error
This commit is contained in:
8
main.c
8
main.c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user