dwm

git clone git://mattcarlson.org/repos/dwm.git
Log | Files | Refs

commit 150f9b3fb4c50f052da2a0f25c1b756018c838a9
parent 7f8d3bd513cee7ba0a733423bed350bcaf636cce
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Tue, 24 Aug 2021 00:41:02 -0400

even better: just remove the else statement!

Diffstat:
Mdwm.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dwm.c b/dwm.c @@ -602,8 +602,7 @@ buttonpress(XEvent *e) statussig = ch; } } - } else - click = NULL; + } } else if ((c = wintoclient(ev->window))) { focus(c); restack(selmon);