dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 52e6bf47354b624e220cbff6df33d06ba1c3581e
parent 3b05eadeaf5e2de4caf127cfa07642342cccddbc
Author: David Donahue <david.donahue2996@gmail.com>
Date:   Thu,  1 Jul 2021 15:20:30 -0500

Moved printstatus() call in focusclient() to prevent printstatus being called on every frame when things like dmenu are up

Diffstat:
Mdwl.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dwl.c b/dwl.c @@ -1083,7 +1083,6 @@ focusclient(Client *c, int lift) selmon = c->mon; c->isurgent = 0; } - printstatus(); /* Deactivate old client if focus is changing */ if (old && (!c || client_surface(c) != old)) { @@ -1106,6 +1105,8 @@ focusclient(Client *c, int lift) } } + printstatus(); + if (!c) { /* With no client, all we have left is to clear focus */ wlr_seat_keyboard_notify_clear_focus(seat);