mirror of https://github.com/0intro/wmii
client title on ClientFocus event is pointless
This commit is contained in:
parent
94ee286dfd
commit
c1e5e40115
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue