~ruther/dwl

1a3d89e5b2c14aa4aebe73a0a0804d14c30386ed — Leonardo Hernández Hernández 2 years ago 7b1fe7e
call checkidleinhibitor() in arrange() and not in focusclient()
1 files changed, 1 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -2
@@ 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 */

Do not follow this link