wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit e994d60caeb7c81761824be7e49efd84654bc7dc
parent 7b0b15bca69a6877cf932252b713c3fcebddd77b
Author: uriel <uriel@localhost.localdomain>
Date:   Tue,  6 Feb 2007 08:12:47 +0100

Delete useless and stupid 'code'

Diffstat:
event.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/event.c b/event.c @@ -187,10 +187,8 @@ enternotify(XEvent *e) { if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) return; if((c = client_of_win(ev->window))) { - Frame *f = c->sel; - Area *a = f->area; - if(a->mode == Colmax) - c = a->sel->client; + if(c->sel->area->mode == Colmax) + c = c->sel->area->sel->client; focus(c, False); } else if(ev->window == blz.root) {