commit 5e3214dfa4f4a6273aab0e29435a02932fa4af2a
parent 25a0f841b123d014fc984fde2cbaef99027a4c6e
Author: Sander van Dijk <sander@wmii.de>
Date: Fri, 5 May 2006 20:06:08 +0000
this should fix keiss' maxcol issue (keiss: please verify!)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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);
}