Fix tagging of client with multiple tags.

This commit is contained in:
Kris Maglione 2007-02-17 13:14:20 -05:00
parent c20c1727cb
commit abe8a08492
3 changed files with 5 additions and 4 deletions

2
area.c
View File

@ -151,7 +151,7 @@ attach_to_area(Area *a, Frame *f, Bool send) {
if(!a->floating)
arrange_column(a, False);
else
resize_client(f->client, &f->rect);
resize_frame(f, &f->rect);
update_client_grab(f->client);
if(a->frame)

View File

@ -178,8 +178,9 @@ arrange_column(Area *a, Bool dirty) {
}
scale_column(a);
resize:
for(f=a->frame; f; f=f->anext)
resize_client(f->client, &f->rect);
if(a->view == screen->sel)
for(f=a->frame; f; f=f->anext)
resize_client(f->client, &f->rect);
flush_masked_events(EnterWindowMask);
}

View File

@ -365,7 +365,7 @@ check_x_event(IXPConn *c) {
XEvent ev;
while(XPending(blz.dpy)) { /* main event loop */
XNextEvent(blz.dpy, &ev);
if(0 && verbose)
if(verbose)
printevent(&ev);
if(handler[ev.type])
(handler[ev.type]) (&ev); /* call handler */