call checkidleinhibitor() in arrange() and not in focusclient()
This commit is contained in:
parent
7b1fe7e5f2
commit
1a3d89e5b2
3
dwl.c
3
dwl.c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user