From 5e3214dfa4f4a6273aab0e29435a02932fa4af2a Mon Sep 17 00:00:00 2001 From: Sander van Dijk Date: Fri, 5 May 2006 20:06:08 +0000 Subject: [PATCH] this should fix keiss' maxcol issue (keiss: please verify!) --- cmd/wm/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/wm/event.c b/cmd/wm/event.c index 29a7477d..1bb11221 100644 --- a/cmd/wm/event.c +++ b/cmd/wm/event.c @@ -221,8 +221,8 @@ handle_enternotify(XEvent *e) Frame *oldf = nil, *f = c->frame.data[c->sel]; if(old) oldf = old->frame.data[old->sel]; - if((f->area->mode == Colmax) && oldf && (oldf->area == f->area)) - return; + if(f->area->mode == Colmax) + c = f->area->frame.data[f->area->sel]->client; if(c != old) focus(c, False); }