swm

sigma window manager
git clone git://wolog.xyz/swm
Log | Files | Refs | README | LICENSE

commit 53c458027729eecfb5f013d88acc9cd7cd8e451d
parent a3e20c184b294b88dbeb978f519b7bb84cc911b9
Author: Raymond Cole <rc@wolog.xyz>
Date:   Mon,  4 Nov 2024 07:29:19 +0000

Minor optimization

Diffstat:
Mevt.c | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/evt.c b/evt.c @@ -177,9 +177,12 @@ expose(XEvent *e) if (ev->count != 0) return; - for (m = mons; m; m = m->next) - if (m->barwin == ev->window) + for (m = mons; m; m = m->next) { + if (m->barwin == ev->window) { pdrawbar(m); + break; + } + } } /* there are some broken focus acquiring clients */