client title on ClientFocus event is pointless

This commit is contained in:
Anselm R. Garbe 2006-04-26 09:40:01 +02:00
parent 94ee286dfd
commit c1e5e40115
2 changed files with 4 additions and 5 deletions

View File

@ -121,8 +121,7 @@ focus_client(Client *c, Bool restack)
XSync(dpy, False);
if(i > 0 && f->area->mode == Colstack)
arrange_column(f->area, False);
snprintf(buf, sizeof(buf), "ClientFocus %d %s\n",
idx_of_client_id(c->id), c->name);
snprintf(buf, sizeof(buf), "ClientFocus %d\n", idx_of_client_id(c->id));
write_event(buf);
}

View File

@ -382,14 +382,14 @@ update_views()
}
}
for(i=0; i < view.size; i++) {
for(i = 0; i < view.size; i++) {
Bool only_wildcards = True;
for(j=0; j < client.size; j++) {
for(j = 0; j < client.size; j++) {
if(is_view_of(client.data[j], view.data[i]))
only_wildcards = False;
}
if(only_wildcards && view.size > 1) {
for(j=0; j < client.size; j++) {
for(j = 0; j < client.size; j++) {
if(is_of_view(view.data[i], client.data[j]))
detach_from_view(view.data[i], client.data[j]);
}