aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-16 18:54:33 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-16 18:54:33 -0600
commit1a3d89e5b2c14aa4aebe73a0a0804d14c30386ed (patch)
tree7287ab07b0f40070e289e8367b57c98e4c6a8340
parent7b1fe7e5f2b92f025063cc98ebdb1791945e2f4a (diff)
call checkidleinhibitor() in arrange() and not in focusclient()
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index f535baf..6e3b034 100644
--- a/dwl.c
+++ b/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 */