mirror of
https://github.com/0intro/wmii
synced 2025-02-07 01:45:12 +03:00
speed'hack
This commit is contained in:
parent
5eb2e0f33b
commit
8028d87a4b
@ -82,9 +82,11 @@ focus_tag(Tag *t)
|
||||
Frame *f = client[i]->frame[client[i]->sel];
|
||||
pi = tag2index(f->area->tag);
|
||||
XMoveWindow(dpy, client[i]->framewin, px - (pi * rect.width) + f->rect.x, f->rect.y);
|
||||
resize_client(client[i], &f->rect, nil, False);
|
||||
if(f->area->tag == t)
|
||||
if(f->area->tag == t) {
|
||||
if(client[i]->nframe > 1)
|
||||
resize_client(client[i], &f->rect, nil, False);
|
||||
draw_client(client[i]);
|
||||
}
|
||||
}
|
||||
snprintf(buf, sizeof(buf), "WS %s\n", t->name);
|
||||
write_event(buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user