forked from mirror/dwl
call checkidleinhibitor() in arrange() and not in focusclient()
This commit is contained in:
parent
7b1fe7e5f2
commit
1a3d89e5b2
1 changed files with 1 additions and 2 deletions
3
dwl.c
3
dwl.c
|
@ -477,6 +477,7 @@ arrange(Monitor *m)
|
||||||
if (m && m->lt[m->sellt]->arrange)
|
if (m && m->lt[m->sellt]->arrange)
|
||||||
m->lt[m->sellt]->arrange(m);
|
m->lt[m->sellt]->arrange(m);
|
||||||
motionnotify(0);
|
motionnotify(0);
|
||||||
|
checkidleinhibitor(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -1226,9 +1227,7 @@ focusclient(Client *c, int lift)
|
||||||
client_activate_surface(old, 0);
|
client_activate_surface(old, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printstatus();
|
printstatus();
|
||||||
checkidleinhibitor(NULL);
|
|
||||||
|
|
||||||
if (!c) {
|
if (!c) {
|
||||||
/* With no client, all we have left is to clear focus */
|
/* With no client, all we have left is to clear focus */
|
||||||
|
|
Loading…
Reference in a new issue