call checkidleinhibitor() in arrange() and not in focusclient()

This commit is contained in:
Leonardo Hernández Hernández 2022-12-16 18:54:33 -06:00
parent 7b1fe7e5f2
commit 1a3d89e5b2
No known key found for this signature in database
GPG key ID: E538897EE11B9624

3
dwl.c
View file

@ -477,6 +477,7 @@ arrange(Monitor *m)
if (m && m->lt[m->sellt]->arrange)
m->lt[m->sellt]->arrange(m);
motionnotify(0);
checkidleinhibitor(NULL);
}
void
@ -1226,9 +1227,7 @@ focusclient(Client *c, int lift)
client_activate_surface(old, 0);
}
}
printstatus();
checkidleinhibitor(NULL);
if (!c) {
/* With no client, all we have left is to clear focus */