mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
fix for animaiton direction judge
This commit is contained in:
parent
600e146706
commit
fa7b09470c
1 changed files with 4 additions and 3 deletions
7
main.c
7
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue